summaryrefslogtreecommitdiff
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>2000-02-12 14:08:29 +0000
committerfredb <fredb>2000-02-12 14:08:29 +0000
commit30034cf4250d3efab62dc43454bb9eb69e58d09a (patch)
treeaefcebafc9a9c999438a6712c43d28de94ff8a23 /security/openssl/Makefile
parent06c3dbb7658a889d68cf6d13b56848d11d25e6d8 (diff)
downloadpkgsrc-30034cf4250d3efab62dc43454bb9eb69e58d09a.tar.gz
Install the static libs, now that they're built anyway, and run "ranlib",
if it exists. Minor fix-up to PLIST. Closes PR pkg/8897.
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 038552ab884..ff5ebde00d4 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1999/12/16 12:03:21 abs Exp $
+# $NetBSD: Makefile,v 1.12 2000/02/12 14:08:29 fredb Exp $
#
DISTNAME= openssl-0.9.4
@@ -82,7 +82,12 @@ do-install:
cd ${WRKSRC}/apps && ${INSTALL_SCRIPT} CA.sh CA.pl ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/apps/openssl.cnf ${PREFIX}/etc/openssl.cnf.example
cd ${WRKSRC} && \
- ${INSTALL_DATA} libcrypto.so.?.0 libssl.so.?.0 ${PREFIX}/lib/
+ ${INSTALL_DATA} libcrypto.so.?.0 libssl.so.?.0 ${PREFIX}/lib/; \
+ ${INSTALL_DATA} libcrypto.a libssl.a ${PREFIX}/lib/
+.if exists(/usr/bin/ranlib)
+ /usr/bin/ranlib ${PREFIX}/lib/libcrypto.a
+ /usr/bin/ranlib ${PREFIX}/lib/libssl.a
+.endif
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
# libRSAglue.a is only useful if you are using the RSAREF2 library.
cd ${WRKSRC} && ${INSTALL_DATA} libRSAglue.a ${PREFIX}/lib/