diff options
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r-- | security/openssl/Makefile | 5 |
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: |