summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-07-09 18:20:26 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-07-09 18:20:26 +0000
commitf43a3fa161091f72fb3b2deb99b79bc775e58738 (patch)
treecb03d5cc9e5c67b085365a85d67601c309e7b158
parentUpdate to 7.17 (diff)
- install cryptlib.h
- respect CFLAGS PR: 54167[1] Submitted by: John Engelhart <johne@zang.com>
Notes
Notes: svn path=/head/; revision=84540
-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