aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/openssl/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-01-16 21:00:06 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-01-16 21:00:06 +0000
commite36de8f1b150b8f51b65eff17a01cd8a136b1cce (patch)
tree1f3e1d87e771ebd3363336149247f7d2dd2cf9b6 /secure/usr.bin/openssl/Makefile
parent701eaeb3805bc1b32c0a5ea44ea0a136204aec33 (diff)
downloadsrc-e36de8f1b150b8f51b65eff17a01cd8a136b1cce.tar.gz
src-e36de8f1b150b8f51b65eff17a01cd8a136b1cce.zip
The wrong version of the file was committed previously which explains the
problems seen here.
Notes
Notes: svn path=/head/; revision=56124
Diffstat (limited to 'secure/usr.bin/openssl/Makefile')
-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 54b7fd568746..e9e4d1f1c576 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>
+
+
+
+
+
+
+
+
+
+
+
+
+