aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.openssl.mk
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-07-21 17:51:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-07-21 17:51:43 +0000
commit94d3cac055cecaf22c6e783236f3b5c6405aaa0b (patch)
tree2cca1a45b5c4290da719551847438d5ce6501f9d /Mk/bsd.openssl.mk
parent2252ff0ae8531f7c05150ff4603531662476bb23 (diff)
downloadports-94d3cac055cecaf22c6e783236f3b5c6405aaa0b.tar.gz
ports-94d3cac055cecaf22c6e783236f3b5c6405aaa0b.zip
Notes
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r--Mk/bsd.openssl.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index ee13eeaac664..3515eb7b8451 100644
--- a/Mk/bsd.openssl.mk
+++ b/Mk/bsd.openssl.mk
@@ -2,7 +2,7 @@
# Date created: 31 May 2002
# Whom: dinoex
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.43 2009-05-07 08:19:02 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.44 2009-07-21 17:51:43 dinoex Exp $
#
# Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk
#
@@ -114,11 +114,19 @@ OPENSSL_SHLIBVER?= ${OPENSSL_SHLIBFILE:E}
.else
# PKG_DBDIR was not found, default
OPENSSL_PORT?= security/openssl
+.if ( ${OSVERSION} >= 800105 )
+OPENSSL_SHLIBVER?= 6
+.else
OPENSSL_SHLIBVER?= 5
.endif
.endif
+.endif
OPENSSL_PORT?= security/openssl
+.if ( ${OSVERSION} >= 800105 )
+OPENSSL_SHLIBVER?= 6
+.else
OPENSSL_SHLIBVER?= 5
+.endif
OPENSSLDIR= ${OPENSSLBASE}/openssl
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT}