summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-10-05 17:25:22 +0000
committerdinoex <dinoex@FreeBSD.org>2002-10-05 17:25:22 +0000
commite638e26674f20fbc733b70692b4ce2315fc21ebb (patch)
treefea3093eba997d5667220f784b03c3e8ae41dc20 /security
parentdb4eca6e5108a3ce209c4c3fce3859dd3796eda5 (diff)
downloadFreeBSD-ports-e638e26674f20fbc733b70692b4ce2315fc21ebb.zip
FreeBSD-ports-e638e26674f20fbc733b70692b4ce2315fc21ebb.tar.gz
use /etc/ssl if OPENSSL_OVERWRITE_BASE is set
Diffstat (limited to 'security')
-rw-r--r--security/openssl-beta/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index 99c4305..3459e03 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/Makefile
@@ -39,6 +39,9 @@ INSTALLS_SHLIB= yes
PKGNAMESUFFIX= -beta-overwrite-base
PREFIX= /usr
SHLIBVER= 2
+OPENSSLDIR= /etc/ssl
+.else
+OPENSSLDIR= ${PREFIX}/openssl
.endif
NO_LATEST_LINK= yes
@@ -131,7 +134,7 @@ EXTRACONFIGURE= 386
do-configure:
@cd ${WRKSRC} \
&& ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \
- ./config --prefix=${PREFIX} --openssldir=${PREFIX}/openssl \
+ ./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \
-L${PREFIX}/lib ${EXTRACONFIGURE}
post-install:
OpenPOWER on IntegriCloud