aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2015-09-26 22:21:39 +0800
committerzi <zi@FreeBSD.org>2015-09-26 22:21:39 +0800
commitbddf55968e28ad068e9f9c940c3b3b928f0817a1 (patch)
tree82ab2cc3ac01d3a2c1b6bf3a9e0588aefd308e68 /net-mgmt
parent4bc18a2269263ae48b684400083053cb89d92f00 (diff)
downloadfreebsd-ports-gnome-bddf55968e28ad068e9f9c940c3b3b928f0817a1.tar.gz
freebsd-ports-gnome-bddf55968e28ad068e9f9c940c3b3b928f0817a1.tar.zst
freebsd-ports-gnome-bddf55968e28ad068e9f9c940c3b3b928f0817a1.zip
- Honor WITHOUT_SSP
PR: 203369 Submitted by: Kenneth Salerno <kennethsalerno@yahoo.com>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index f262ec436340..82cd8fda7886 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -52,10 +52,13 @@ CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \
--with-logfile="${NET_SNMP_LOGFILE}" \
--with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
--with-gnu-ld --with-libwrap \
- --with-libs="-lssp_nonshared" \
--with-ldflags="-lm -lkvm -ldevstat -L${PKG_PREFIX}/lib -L${LOCALBASE}/lib ${LCRYPTO}"
SUB_FILES= pkg-message
+.if !defined(WITHOUT_SSP)
+CONFIGURE_ARGS+=--with-libs="-lssp_nonshared"
+.endif
+
.if defined(BATCH)
CONFIGURE_ARGS+=--with-defaults
.endif