aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-04-26 21:52:39 +0800
committerwxs <wxs@FreeBSD.org>2010-04-26 21:52:39 +0800
commit264bb5053d7a42ad3a1fc0bc6b13dc0cd90a841a (patch)
treeabd4d4351c766b09e346175bb3e7f072ecf55e25 /net-mgmt/net-snmp
parent52dac1a2f0b78d694512cf1c80a0f6f2c5e78c21 (diff)
downloadfreebsd-ports-gnome-264bb5053d7a42ad3a1fc0bc6b13dc0cd90a841a.tar.gz
freebsd-ports-gnome-264bb5053d7a42ad3a1fc0bc6b13dc0cd90a841a.tar.zst
freebsd-ports-gnome-264bb5053d7a42ad3a1fc0bc6b13dc0cd90a841a.zip
Fix build with stack protection.
PR: ports/141238 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Diffstat (limited to 'net-mgmt/net-snmp')
-rw-r--r--net-mgmt/net-snmp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 885460135f9c..fd1fc1c5bc3f 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -106,6 +106,10 @@ NET_SNMP_MIB_MODULE_LIST=host disman/event-mib smux mibII/mta_sendmail mibII/tcp
NET_SNMP_MIB_MODULE_LIST+= sctp-mib
.endif
+.if ${OSVERSION} >= 800000
+CONFIGURE_ARGS+= --with-libs="-lssp_nonshared"
+.endif
+
.if defined(WITH_MFD_REWRITES)
CONFIGURE_ARGS+=--enable-mfd-rewrites
NET_SNMP_MIB_MODULE_LIST+= if-mib