diff options
author | wen <wen@FreeBSD.org> | 2011-03-02 14:26:38 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2011-03-02 14:26:38 +0800 |
commit | a771e15dbde58e3216718fe5e5f1868fcbdd594c (patch) | |
tree | 5fe0a99f54637484b850e2cc42bc6bb3a1616242 /security/ocaml-cryptokit | |
parent | f411b245aa8e10b811fe243958ebc8da2c824565 (diff) | |
download | freebsd-ports-gnome-a771e15dbde58e3216718fe5e5f1868fcbdd594c.tar.gz freebsd-ports-gnome-a771e15dbde58e3216718fe5e5f1868fcbdd594c.tar.zst freebsd-ports-gnome-a771e15dbde58e3216718fe5e5f1868fcbdd594c.zip |
- Installing of libraries in ${OCAML_SITELIBDIR)/stublibs, which is not searched;
- Creation of an install directory before the privilege switch.
PR: ports/155171
Submitted by: Jaap Boender <jaapb@kerguelen.org> (maintainer)
Diffstat (limited to 'security/ocaml-cryptokit')
-rw-r--r-- | security/ocaml-cryptokit/Makefile | 4 | ||||
-rw-r--r-- | security/ocaml-cryptokit/distinfo | 1 | ||||
-rw-r--r-- | security/ocaml-cryptokit/files/patch-Makefile | 14 | ||||
-rw-r--r-- | security/ocaml-cryptokit/pkg-plist | 3 |
4 files changed, 16 insertions, 6 deletions
diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile index ef6f3e6c8508..f8be4b4e75fc 100644 --- a/security/ocaml-cryptokit/Makefile +++ b/security/ocaml-cryptokit/Makefile @@ -7,7 +7,7 @@ PORTNAME= cryptokit PORTVERSION= 1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/ PKGNAMEPREFIX= ocaml- @@ -43,8 +43,6 @@ pre-install: @${REINPLACE_CMD} -E -e \ 's|cp |${INSTALL_DATA} |' \ ${WRKSRC}/Makefile -# create installation dir - @${MKDIR} ${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/stublibs post-install: .ifndef(NOPORTDOCS) diff --git a/security/ocaml-cryptokit/distinfo b/security/ocaml-cryptokit/distinfo index 2f248144cc65..25ff3d6da79b 100644 --- a/security/ocaml-cryptokit/distinfo +++ b/security/ocaml-cryptokit/distinfo @@ -1,3 +1,2 @@ -MD5 (cryptokit-1.3.tar.gz) = d7de01d0702d16b3491c9e794ebb2cc3 SHA256 (cryptokit-1.3.tar.gz) = 9ef339ed4cb15f0c458d0093b90dd249d8d1dfb1b01a1fedc542e67f67a7194f SIZE (cryptokit-1.3.tar.gz) = 112689 diff --git a/security/ocaml-cryptokit/files/patch-Makefile b/security/ocaml-cryptokit/files/patch-Makefile new file mode 100644 index 000000000000..b2c8a0d7d790 --- /dev/null +++ b/security/ocaml-cryptokit/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2011-03-02 06:09:16.000000000 +0000 ++++ Makefile 2011-03-02 06:10:20.000000000 +0000 +@@ -74,9 +74,10 @@ + rm -f speedtest + + install: ++ install -d $(INSTALLDIR) + cp cryptokit.cmi cryptokit.cma cryptokit.mli $(INSTALLDIR) + cp libcryptokit.a $(INSTALLDIR) +- if test -f dllcryptokit.so; then cp dllcryptokit.so $(INSTALLDIR)/stublibs; fi ++ if test -f dllcryptokit.so; then cp dllcryptokit.so $(INSTALLDIR); fi + if test -f cryptokit.cmxa; then cp cryptokit.cmxa cryptokit.cmx cryptokit.a $(INSTALLDIR); fi + + doc: FORCE diff --git a/security/ocaml-cryptokit/pkg-plist b/security/ocaml-cryptokit/pkg-plist index 6771c91a3851..3ed9b016c160 100644 --- a/security/ocaml-cryptokit/pkg-plist +++ b/security/ocaml-cryptokit/pkg-plist @@ -6,7 +6,6 @@ %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmxa %%OCAML_SITELIBDIR%%/cryptokit/cryptokit.mli %%OCAML_SITELIBDIR%%/cryptokit/libcryptokit.a -%%OCAML_SITELIBDIR%%/cryptokit/stublibs/dllcryptokit.so -@dirrmtry %%OCAML_SITELIBDIR%%/cryptokit/stublibs +%%OCAML_SITELIBDIR%%/cryptokit/dllcryptokit.so @dirrmtry %%OCAML_SITELIBDIR%%/cryptokit @dirrmtry %%OCAML_SITELIBDIR%% |