summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-07 07:17:00 +0000
committerjlam <jlam>2002-09-07 07:17:00 +0000
commit3da07f74596c08c203eb2d053b29f2b60209732c (patch)
tree63fc0fb34e30918be6e71ea6dd563969bdc9a5f2 /security
parent483f2d6c34a603c35306756cc66f98981720cd5b (diff)
downloadpkgsrc-3da07f74596c08c203eb2d053b29f2b60209732c.tar.gz
Use buildlink2 and pass an extra flag to the configure script so that if
RSAref is used, then the library may be found.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 96452ea35a8..7ea5ed8cad1 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2002/08/25 19:23:17 jlam Exp $
+# $NetBSD: Makefile,v 1.61 2002/09/07 07:17:00 jlam Exp $
DISTNAME= openssl-0.9.6g
SVR4_PKGNAME= ossl
@@ -19,6 +19,7 @@ CRYPTO= YES
# openssl supplies IDEA/RC5. IDEA/RC5 need license for commercial use.
LICENCE= fee-based-commercial-use
+USE_BUILDLINK2= YES
CONFIGURE_SCRIPT= config
CONFIGURE_ARGS= shared --openssldir=${PKG_SYSCONFDIR} --prefix=${PREFIX}
CONFIGURE_ENV= CC="${CC}"
@@ -76,8 +77,8 @@ LD_PATH_VARNAME= LD_LIBRARY_PATH
.endif
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
-DEPENDS= rsaref-2.0p3:../../security/rsaref
-CONFIGURE_ARGS+= rsaref
+. include "../../security/rsaref/buildlink2.mk"
+CONFIGURE_ARGS+= rsaref -L${BUILDLINK_PREFIX.rsaref}/lib
PLIST_RSAREF= ${PKGDIR}/PLIST.rsaref
.endif