aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/net-snmp4/Makefile5
-rw-r--r--net/net-snmp4/Makefile5
2 files changed, 4 insertions, 6 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile
index 6db343483dd2..fb17a481a2be 100644
--- a/net-mgmt/net-snmp4/Makefile
+++ b/net-mgmt/net-snmp4/Makefile
@@ -71,9 +71,8 @@ CONFIGURE_ARGS+= --enable-ipv6
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-openssl
.else
-.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || \
- (${OSREL} == 4 && ${OSVERSION} >= 470103)
-.if ${OSVERSION} >= 500100
+.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
+.if ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl
.else
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index 6db343483dd2..fb17a481a2be 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -71,9 +71,8 @@ CONFIGURE_ARGS+= --enable-ipv6
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-openssl
.else
-.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || \
- (${OSREL} == 4 && ${OSVERSION} >= 470103)
-.if ${OSVERSION} >= 500100
+.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
+.if ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl
.else
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl