summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-01-16 21:00:06 +0000
committerkris <kris@FreeBSD.org>2000-01-16 21:00:06 +0000
commitfb35998cf918637e001eab3ebc4e918f7e74f437 (patch)
tree83a9f2262e1a556b40d281c9cd23219ef3213f4e /secure
parentdb0585c614f2e1f50612a76cc34482f1712f1214 (diff)
downloadFreeBSD-src-fb35998cf918637e001eab3ebc4e918f7e74f437.zip
FreeBSD-src-fb35998cf918637e001eab3ebc4e918f7e74f437.tar.gz
The wrong version of the file was committed previously which explains the
problems seen here.
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.bin/openssl/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/secure/usr.bin/openssl/Makefile b/secure/usr.bin/openssl/Makefile
index 54b7fd5..e9e4d1f 100644
--- a/secure/usr.bin/openssl/Makefile
+++ b/secure/usr.bin/openssl/Makefile
@@ -11,13 +11,13 @@ OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
CFLAGS+= -DMONOLITH -DNO_IDEA -I${.CURDIR}
-.if !defined(RSA_NONCOMMERCIAL) || ${RSA_NONCOMMERCIAL} != YES
+LOCALBASE?= /usr/local
+
+.if !exists(${LOCALBASE}/lib/librsaref.a)
CFLAGS+= -DNO_RSA -DNO_SSL2
-WITH_RSA= NO
.else
CFLAGS+= -DRSAref
-LDADD+= -L/usr/local/lib -lrsaref
-RSAREF= YES
+LDADD+= -L${LOCALBASE}/lib -lrsaref
.endif
SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \
@@ -29,3 +29,16 @@ SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \
.PATH: ${OPENSSL_SRC}
.include <bsd.prog.mk>
+
+
+
+
+
+
+
+
+
+
+
+
+
OpenPOWER on IntegriCloud