aboutsummaryrefslogtreecommitdiff
path: root/security/linux-c6-openssl-compat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/linux-c6-openssl-compat/Makefile')
-rw-r--r--security/linux-c6-openssl-compat/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/linux-c6-openssl-compat/Makefile b/security/linux-c6-openssl-compat/Makefile
index 2e93e812bfa8..7436c71e3955 100644
--- a/security/linux-c6-openssl-compat/Makefile
+++ b/security/linux-c6-openssl-compat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openssl-compat
PORTVERSION= 0.9.8e
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security linux
DISTNAME= openssl098e-${PORTVERSION}-${RPMVERSION}
@@ -22,6 +22,10 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
DESCR= ${.CURDIR}/../openssl/pkg-descr
post-install:
+. if "${OVERRIDE_LINUX_BASE_PORT}" == "c6_64"
+ @cd ${STAGEDIR}${PREFIX}/usr/lib64 && ${LN} -sf libssl.so.6 libssl.so.7
+. else
@cd ${STAGEDIR}${PREFIX}/usr/lib && ${LN} -sf libssl.so.6 libssl.so.7
+. endif
.include <bsd.port.mk>