summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-09-15 13:01:05 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-09-15 13:01:05 +0000
commitb29bd2eb2e04ec72612866f0025ffaaa1da19136 (patch)
tree268bc286eb1d9c05c13a5ecb8b81c9cedf9ab3fa /security/openssl
parentUpdate to 1.3.26+ssl_1.48 (diff)
fix path for option OPENSSL_OVERWRITE_BASE
PR: 42665 Submitted by: roman@bellavista.cz
Notes
Notes: svn path=/head/; revision=66364
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 315b1ba4feeb..17ab730776cb 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -42,6 +42,9 @@ INSTALLS_SHLIB= yes
PKGNAMESUFFIX= -overwrite-base
PREFIX= /usr
SHLIBVER= 2
+OPENSSLDIR= /etc/ssl
+.else
+OPENSSLDIR= ${PREFIX}/openssl
.endif
MANPREFIX= ${PREFIX}/openssl
@@ -128,7 +131,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: