From b29bd2eb2e04ec72612866f0025ffaaa1da19136 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 15 Sep 2002 13:01:05 +0000 Subject: fix path for option OPENSSL_OVERWRITE_BASE PR: 42665 Submitted by: roman@bellavista.cz --- security/openssl/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3