summaryrefslogtreecommitdiff
path: root/devel/ocaml-camlp4/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-camlp4/files/patch-Makefile')
-rw-r--r--devel/ocaml-camlp4/files/patch-Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/devel/ocaml-camlp4/files/patch-Makefile b/devel/ocaml-camlp4/files/patch-Makefile
index bf1e1fab001b..7e45c5769b8a 100644
--- a/devel/ocaml-camlp4/files/patch-Makefile
+++ b/devel/ocaml-camlp4/files/patch-Makefile
@@ -1,18 +1,11 @@
---- Makefile.orig 2014-10-21 11:41:15 UTC
+--- Makefile.orig 2017-10-11 20:17:38 UTC
+++ Makefile
-@@ -19,12 +19,12 @@ all: byte native
+@@ -21,7 +21,7 @@ all: byte native
.PHONY: install
install:
-- ./build/install.sh
-+ env LIBDIR=$(LIBDIR) BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) ./build/install.sh
+- env DESTDIR=$(DESTDIR) sh ./build/install.sh
++ env LIBDIR=$(LIBDIR) BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) sh ./build/install.sh
.PHONY: install-META
install-META: camlp4/META
-- mkdir -p ${PKGDIR}/camlp4/
-- cp -f camlp4/META ${PKGDIR}/camlp4/
-+ mkdir -p ${DESTDIR}${PKGDIR}/camlp4/
-+ cp -f camlp4/META ${DESTDIR}${PKGDIR}/camlp4/
-
- camlp4/META: camlp4/META.in
- sed -e s/@@VERSION@@/${version}/g $? > $@