mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- 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)
This commit is contained in:
parent
f95addaf77
commit
fbbfb7e179
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270105
@ -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)
|
||||
|
@ -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
|
||||
|
14
security/ocaml-cryptokit/files/patch-Makefile
Normal file
14
security/ocaml-cryptokit/files/patch-Makefile
Normal file
@ -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
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user