diff options
Diffstat (limited to 'textproc/ocaml-tyxml/files')
-rw-r--r-- | textproc/ocaml-tyxml/files/patch-Makefile | 28 | ||||
-rw-r--r-- | textproc/ocaml-tyxml/files/patch-Makefile.config | 11 | ||||
-rw-r--r-- | textproc/ocaml-tyxml/files/patch-lib_Makefile | 13 |
3 files changed, 41 insertions, 11 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: diff --git a/textproc/ocaml-tyxml/files/patch-Makefile.config b/textproc/ocaml-tyxml/files/patch-Makefile.config deleted file mode 100644 index 432521b86988..000000000000 --- a/textproc/ocaml-tyxml/files/patch-Makefile.config +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.config.orig 2011-12-14 13:19:51.645986499 +0100 -+++ Makefile.config 2011-12-14 13:19:57.053913205 +0100 -@@ -11,7 +11,7 @@ - - ## Build options - --OCAMLDUCE :=YES -+#OCAMLDUCE :=YES - NATDYNLINK :=YES - - # DBG := -g diff --git a/textproc/ocaml-tyxml/files/patch-lib_Makefile b/textproc/ocaml-tyxml/files/patch-lib_Makefile new file mode 100644 index 000000000000..10efb10e7601 --- /dev/null +++ b/textproc/ocaml-tyxml/files/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 + |