summaryrefslogtreecommitdiff
path: root/textproc/ocaml-tyxml/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ocaml-tyxml/files/patch-Makefile')
-rw-r--r--textproc/ocaml-tyxml/files/patch-Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/textproc/ocaml-tyxml/files/patch-Makefile b/textproc/ocaml-tyxml/files/patch-Makefile
new file mode 100644
index 000000000000..4c1d8045c00c
--- /dev/null
+++ b/textproc/ocaml-tyxml/files/patch-Makefile
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile,v 1.2 2013/06/11 14:52:40 jaapb Exp $
+
+--- Makefile.orig 2012-12-07 15:15:22.000000000 +0000
++++ Makefile
+@@ -52,19 +52,20 @@ files/META.tyxml: files/META.in Makefile
+ $< > $@
+
+ install:
++ mkdir -p ${INSTALLDIR}
+ $(OCAMLFIND) install ${PACKAGENAME} \
+- -patch-version ${VERSION} \
++ -patch-version ${VERSION} -destdir ${INSTALLDIR} \
+ files/META ${INTF} ${IMPL} ${NATIMPL} \
+ ${MLI_TO_INSTALL}
+
+ install-byte:
+ $(OCAMLFIND) install ${PACKAGENAME} \
+- -patch-version ${VERSION} \
++ -patch-version ${VERSION} -destdir ${INSTALLDIR} \
+ files/META ${INTF} ${IMPL} ${MLI_TO_INSTALL}
+
+ install-opt:
+ $(OCAMLFIND) install ${PACKAGENAME} \
+- -patch-version ${VERSION} \
++ -patch-version ${VERSION} -destdir ${INSTALLDIR} \
+ files/META ${INTF} ${NATIMPL} ${MLI_TO_INSTALL}
+
+ uninstall: