svn commit: r397981 - head/net-mgmt/net-snmp

Ryan Steinmetz zi at FreeBSD.org
Sat Sep 26 14:21:40 UTC 2015


Author: zi
Date: Sat Sep 26 14:21:39 2015
New Revision: 397981
URL: https://svnweb.freebsd.org/changeset/ports/397981

Log:
  - Honor WITHOUT_SSP
  
  PR:		203369
  Submitted by:	Kenneth Salerno <kennethsalerno at yahoo.com>

Modified:
  head/net-mgmt/net-snmp/Makefile

Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile	Sat Sep 26 14:13:44 2015	(r397980)
+++ head/net-mgmt/net-snmp/Makefile	Sat Sep 26 14:21:39 2015	(r397981)
@@ -52,10 +52,13 @@ CONFIGURE_ARGS+=--enable-shared --enable
 		--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


More information about the svn-ports-all mailing list