summaryrefslogtreecommitdiff
path: root/textproc/ocaml-tyxml/patches
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ocaml-tyxml/patches')
-rw-r--r--textproc/ocaml-tyxml/patches/patch-Makefile9
-rw-r--r--textproc/ocaml-tyxml/patches/patch-lib_Makefile13
2 files changed, 18 insertions, 4 deletions
diff --git a/textproc/ocaml-tyxml/patches/patch-Makefile b/textproc/ocaml-tyxml/patches/patch-Makefile
index 3b0db18914b..4c1d8045c00 100644
--- a/textproc/ocaml-tyxml/patches/patch-Makefile
+++ b/textproc/ocaml-tyxml/patches/patch-Makefile
@@ -1,11 +1,12 @@
-$NetBSD: patch-Makefile,v 1.1.1.1 2012/06/04 13:13:15 wiz Exp $
+$NetBSD: patch-Makefile,v 1.2 2013/06/11 14:52:40 jaapb Exp $
-Changes to Makefile for DESTDIR support
---- Makefile.orig 2012-02-24 18:16:01.000000000 +0000
+--- Makefile.orig 2012-12-07 15:15:22.000000000 +0000
+++ Makefile
-@@ -53,18 +53,18 @@ files/META.tyxml: files/META.in 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} \
diff --git a/textproc/ocaml-tyxml/patches/patch-lib_Makefile b/textproc/ocaml-tyxml/patches/patch-lib_Makefile
new file mode 100644
index 00000000000..10efb10e760
--- /dev/null
+++ b/textproc/ocaml-tyxml/patches/patch-lib_Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_Makefile,v 1.1 2013/06/11 14:52:40 jaapb Exp $
+
+--- lib/Makefile.orig 2012-12-07 15:15:22.000000000 +0000
++++ lib/Makefile
+@@ -13,7 +13,7 @@ DUCE_INTF := xml_sigs_duce.mli xhtml_ty
+
+ DUCE_FILES := xml_print_duce.ml xhtml_duce.ml
+
+-LIBS := -package netstring
++LIBS := -package netstring,netstring-pcre
+
+ # SYNTAX := -ppopt ../syntax/pa_include.cmo -package camlp4 -syntax camlp4o
+