svn commit: r359898 - head/net-mgmt/net-snmp
Ryan Steinmetz
zi at FreeBSD.org
Mon Jun 30 18:43:49 UTC 2014
Author: zi
Date: Mon Jun 30 18:43:48 2014
New Revision: 359898
URL: http://svnweb.freebsd.org/changeset/ports/359898
QAT: https://qat.redports.org/buildarchive/r359898/
Log:
- Resolve build under 10 when security/openssl is installed
- Bump PORTREVISION for easy tracking
Modified:
head/net-mgmt/net-snmp/Makefile
Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile Mon Jun 30 18:33:37 2014 (r359897)
+++ head/net-mgmt/net-snmp/Makefile Mon Jun 30 18:43:48 2014 (r359898)
@@ -3,7 +3,7 @@
PORTNAME= snmp
PORTVERSION= 5.7.2
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= net-mgmt ipv6
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= net-
@@ -54,7 +54,7 @@ CONFIGURE_ARGS+=--enable-shared --enable
--with-logfile="${NET_SNMP_LOGFILE}" \
--with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
--with-gnu-ld --with-libwrap \
- --with-ldflags="-lm -lkvm -ldevstat -lpkg -L${LOCALBASE}/lib"
+ --with-ldflags="-lm -lkvm -ldevstat -lpkg -L${LOCALBASE}/lib ${LCRYPTO}"
SUB_FILES= pkg-message
.if defined(BATCH)
@@ -206,7 +206,9 @@ CONFLICTS= ucd-snmp-4.* net-snmp-5.3.*
.include <bsd.port.pre.mk>
.if defined(WITH_OPENSSL_PORT) || defined(OPENSSL_PORT)
-LDFLAGS+= -lcrypto
+LCRYPTO= -lcrypto
+.else
+LCRYPTO=
.endif
pre-everything::
More information about the svn-ports-all
mailing list