diff options
Diffstat (limited to 'security/openssl-beta/Makefile')
-rw-r--r-- | security/openssl-beta/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile index 99c4305cf28f..3459e03259bf 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: |