- Patched package to compile with new version of net/ocamlnet

This commit is contained in:
jaapb 2013-06-11 14:52:39 +00:00
parent 073d332670
commit 63faf8b5d2
3 changed files with 21 additions and 6 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2012/12/14 14:44:53 jaapb Exp $
$NetBSD: distinfo,v 1.3 2013/06/11 14:52:39 jaapb Exp $
SHA1 (tyxml-2.2.0.tar.gz) = b60fa2f0ba7fa1a6c412c432f65ca110b143bbe8
RMD160 (tyxml-2.2.0.tar.gz) = 8cd613dbf1bbe6f439a5c5001b812288081aa3c8
Size (tyxml-2.2.0.tar.gz) = 105748 bytes
SHA1 (patch-Makefile) = b272c7b9adec929c5f79085cf58ce0b4d02a870c
SHA1 (patch-Makefile) = 4cb1aeac6a3eda3b0d010dd66472c9119e0cf481
SHA1 (patch-lib_Makefile) = 8b8b2ca1ebaea07480e82523d3ca56a11439ebf2

View file

@ -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} \

View file

@ -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