summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/net-snmp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index a90db863b647..5332a113e408 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -205,7 +205,7 @@ CONFLICTS= ucd-snmp-4.* net-snmp-5.3.*
.include <bsd.port.pre.mk>
-.if defined(OPENSSL_PORT)
+.if defined(WITH_OPENSSL_PORT) || defined(OPENSSL_PORT)
LDFLAGS+= -lcrypto
.endif