summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-12 18:56:59 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-12 21:20:25 +0200
commitc5c302ab1aa05d71033e5a557114d0501d98372e (patch)
treef222bdeee260343fbb15f9004d8621ca051b493a /dev-ml
parentdev-ml/lambda-term: bump to 1.11 (diff)
downloadgentoo-c5c302ab1aa05d71033e5a557114d0501d98372e.tar.gz
gentoo-c5c302ab1aa05d71033e5a557114d0501d98372e.tar.bz2
gentoo-c5c302ab1aa05d71033e5a557114d0501d98372e.zip
dev-ml/opam: Patch default stublibs to match manpage.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/opam/files/stublibs.patch13
-rw-r--r--dev-ml/opam/opam-1.3.1-r1.ebuild (renamed from dev-ml/opam/opam-1.3.1.ebuild)4
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-ml/opam/files/stublibs.patch b/dev-ml/opam/files/stublibs.patch
new file mode 100644
index 000000000000..3cb61883233a
--- /dev/null
+++ b/dev-ml/opam/files/stublibs.patch
@@ -0,0 +1,13 @@
+Index: opam-1.3.1/src/tools/opam_installer.ml
+===================================================================
+--- opam-1.3.1.orig/src/tools/opam_installer.ml
++++ opam-1.3.1/src/tools/opam_installer.ml
+@@ -312,7 +312,7 @@ let options =
+ let mandir = mk_dir mandir in
+ let libdir = mk_dir libdir in
+ let stubsdir = match mk_dir stubsdir, libdir with
+- | None, Some d -> Some OpamFilename.Op.(d / "stubslibs")
++ | None, Some d -> Some OpamFilename.Op.(d / "stublibs")
+ | d, None | (Some _ as d), _ -> d
+ in
+ let topdir = match mk_dir topdir, libdir with
diff --git a/dev-ml/opam/opam-1.3.1.ebuild b/dev-ml/opam/opam-1.3.1-r1.ebuild
index 7a59ae2c792b..8dcc9ac786d5 100644
--- a/dev-ml/opam/opam-1.3.1.ebuild
+++ b/dev-ml/opam/opam-1.3.1-r1.ebuild
@@ -34,6 +34,10 @@ RDEPEND="${DEPEND}
dev-ml/findlib
"
+src_prepare() {
+ epatch "${FILESDIR}/stublibs.patch"
+}
+
src_compile() {
emake -j1
cd doc