diff options
author | wxs <wxs@FreeBSD.org> | 2010-04-26 21:52:39 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2010-04-26 21:52:39 +0800 |
commit | 264bb5053d7a42ad3a1fc0bc6b13dc0cd90a841a (patch) | |
tree | abd4d4351c766b09e346175bb3e7f072ecf55e25 /net-mgmt/net-snmp | |
parent | 52dac1a2f0b78d694512cf1c80a0f6f2c5e78c21 (diff) | |
download | freebsd-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/Makefile | 4 |
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 |