aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-10 02:20:26 +0800
committerarved <arved@FreeBSD.org>2003-07-10 02:20:26 +0800
commitdceae601febb03700ed76a582fab5f1a9a64bb3d (patch)
tree0c9799467ff516c0fcdaab246ef034fc1d42dfea /security
parenta4fa9f1284bc3383453241436998b0fc4f8d1e33 (diff)
downloadfreebsd-ports-gnome-dceae601febb03700ed76a582fab5f1a9a64bb3d.tar.gz
freebsd-ports-gnome-dceae601febb03700ed76a582fab5f1a9a64bb3d.tar.zst
freebsd-ports-gnome-dceae601febb03700ed76a582fab5f1a9a64bb3d.zip
- install cryptlib.h
- respect CFLAGS PR: 54167[1] Submitted by: John Engelhart <johne@zang.com>
Diffstat (limited to 'security')
-rw-r--r--security/cryptlib/Makefile6
-rw-r--r--security/cryptlib/pkg-plist1
2 files changed, 7 insertions, 0 deletions
diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile
index 57039d9e2a45..703675564da4 100644
--- a/security/cryptlib/Makefile
+++ b/security/cryptlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cryptlib
PORTVERSION= 3.1.b4
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.franken.de/pub/crypt/cryptlib/beta/
DISTNAME= cl31beta04
@@ -21,16 +22,21 @@ NO_WRKSUBDIR= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ARGS= all shared
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
+post-patch:
+ ${REINPLACE_CMD} -e "s,-fomit-frame-pointer -O3,${CFLAGS}," ${WRKSRC}/makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/endian ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.3.1.0 \
${PREFIX}/lib
${LN} -sf ${PREFIX}/lib/libcl.so.3.1.0 ${PREFIX}/lib/libcl.so
+ ${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cryptlib
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cryptlib
diff --git a/security/cryptlib/pkg-plist b/security/cryptlib/pkg-plist
index eb4863e0cec4..a0fd05fafc36 100644
--- a/security/cryptlib/pkg-plist
+++ b/security/cryptlib/pkg-plist
@@ -1,4 +1,5 @@
bin/endian
+include/cryptlib.h
lib/libcl.a
lib/libcl.so
lib/libcl.so.3.1.0