diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/ocaml-ssl/Makefile | 4 | ||||
-rw-r--r-- | security/ocaml-ssl/distinfo | 3 | ||||
-rw-r--r-- | security/ocaml-ssl/patches/patch-aa | 14 |
3 files changed, 19 insertions, 2 deletions
diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile index 314ac0c97d2..d7118e95218 100644 --- a/security/ocaml-ssl/Makefile +++ b/security/ocaml-ssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2010/01/17 12:02:42 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2010/01/30 19:44:50 joerg Exp $ # DISTNAME= ocaml-ssl-0.4.2 @@ -10,6 +10,8 @@ MAINTAINER= jaapb@kerguelen.org HOMEPAGE= http://savonet.sourceforge.net/wiki/OCamlLibs COMMENT= SSL library for OCaml +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib HAS_CONFIGURE= yes diff --git a/security/ocaml-ssl/distinfo b/security/ocaml-ssl/distinfo index 9fa1cf56372..97a34f95e31 100644 --- a/security/ocaml-ssl/distinfo +++ b/security/ocaml-ssl/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2008/03/03 18:14:19 tonio Exp $ +$NetBSD: distinfo,v 1.4 2010/01/30 19:44:50 joerg Exp $ SHA1 (ocaml-ssl-0.4.2.tar.gz) = ec6362b681aa5498143ec0c4ddd77fbbe745a2aa RMD160 (ocaml-ssl-0.4.2.tar.gz) = ba5b4106d19e0b3d50e9a19d705ef18a5b20948c Size (ocaml-ssl-0.4.2.tar.gz) = 109090 bytes +SHA1 (patch-aa) = e13b4c2f9ee38cb45f3eeb74f36a9887b194daf1 diff --git a/security/ocaml-ssl/patches/patch-aa b/security/ocaml-ssl/patches/patch-aa new file mode 100644 index 00000000000..92232028abf --- /dev/null +++ b/security/ocaml-ssl/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 2010/01/30 19:44:51 joerg Exp $ + +--- src/Makefile.in.orig 2010-01-30 19:40:05.000000000 +0000 ++++ src/Makefile.in +@@ -50,7 +50,8 @@ byte: byte-code-library + opt: native-code-library + + install: +- $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES) ++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}`ocamlc -where`/site-lib ++ $(OCAMLFIND) install -destdir ${DESTDIR}`ocamlc -where`/site-lib $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES) + + uninstall: + $(OCAMLFIND) remove $(OCAMLFIND_INSTFLAGS) $(RESULT) |