aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-07 13:54:39 +0800
committerdinoex <dinoex@FreeBSD.org>2003-04-07 13:54:39 +0800
commitcee61e643da17a5160e317343a2be980617258de (patch)
tree0d3dcce30dbdb8c9b5c5f5c0459f06634e35ebb6 /Mk
parentda4d3a235544c09cdb266ababc2bde23069ff5d2 (diff)
downloadfreebsd-ports-gnome-cee61e643da17a5160e317343a2be980617258de.tar.gz
freebsd-ports-gnome-cee61e643da17a5160e317343a2be980617258de.tar.zst
freebsd-ports-gnome-cee61e643da17a5160e317343a2be980617258de.zip
- defaults to STABLE/CURRENT shared lib version
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.openssl.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index d25013deaadc..0975f8dbbfeb 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.1 2003-04-03 18:24:31 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.2 2003-04-07 05:54:39 dinoex Exp $
#
# this substitutes USE_OPENSSL=yes
# just include this makefile after bsd.ports.pre.mk
@@ -81,10 +81,10 @@ MAKE_ARGS+= OPENSSL_CFLAGS="${OPENSSL_CFLAGS}"
.else
-.if exists(/usr/lib/libcrypto.so.3)
-SHLIBVER= 4
-.else
+.if exists(/usr/lib/libcrypto.so.2) && !exists(/usr/lib/libcrypto.so.3)
SHLIBVER= 3
+.else
+SHLIBVER= 4
.endif
OPENSSLBASE= ${LOCALBASE}