summaryrefslogtreecommitdiff
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-07 07:17:00 +0000
committerjlam <jlam>2002-09-07 07:17:00 +0000
commit3d5f1ebfe91d46cd230a5d0e8f7323c256ada8c7 (patch)
tree63fc0fb34e30918be6e71ea6dd563969bdc9a5f2 /security/openssl/Makefile
parentf8974c2d4b6001606eceb4b3ec86e32a8a90a993 (diff)
downloadpkgsrc-3d5f1ebfe91d46cd230a5d0e8f7323c256ada8c7.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/openssl/Makefile')
-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