aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.openssl.mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-07-22 01:51:43 +0800
committerdinoex <dinoex@FreeBSD.org>2009-07-22 01:51:43 +0800
commit2f2f44c0191d50a679e83c8decc2c98b9074e373 (patch)
treecfbcedc8568afa4bcdc8294ce41f9e77475bdcfb /Mk/bsd.openssl.mk
parentb57d234717d531efea67ceba89761f00d4bfa915 (diff)
downloadfreebsd-ports-gnome-2f2f44c0191d50a679e83c8decc2c98b9074e373.tar.gz
freebsd-ports-gnome-2f2f44c0191d50a679e83c8decc2c98b9074e373.tar.zst
freebsd-ports-gnome-2f2f44c0191d50a679e83c8decc2c98b9074e373.zip
- fix build for OSVERSION 800105
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}