aboutsummaryrefslogtreecommitdiffstats
path: root/net/net-snmp4
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-02-23 01:44:37 +0800
committermarcus <marcus@FreeBSD.org>2003-02-23 01:44:37 +0800
commitb0901c51428b63606e2588773bb853aa78e22ad2 (patch)
treed3b7b819ac31cf808792803813da7af0c5e3de61 /net/net-snmp4
parentb73b5d9657ab36801b5ac8ad3c23ec72bce0f81c (diff)
downloadfreebsd-ports-gnome-b0901c51428b63606e2588773bb853aa78e22ad2.tar.gz
freebsd-ports-gnome-b0901c51428b63606e2588773bb853aa78e22ad2.tar.zst
freebsd-ports-gnome-b0901c51428b63606e2588773bb853aa78e22ad2.zip
Correct logic when building on 5.x.
Submitted by: Oliver Lehmann <lehmann@ans-netz.de> Pointy hat to: me
Diffstat (limited to 'net/net-snmp4')
-rw-r--r--net/net-snmp4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index 9a8381f5d15c..6db343483dd2 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -71,7 +71,8 @@ CONFIGURE_ARGS+= --enable-ipv6
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-openssl
.else
-.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || ${OSVERSION} >= 470103
+.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || \
+ (${OSREL} == 4 && ${OSVERSION} >= 470103)
.if ${OSVERSION} >= 500100
LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl
.else