aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2014-06-30 18:43:48 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2014-06-30 18:43:48 +0000
commit72d070542bd00fcd042296ad232feff105da81a6 (patch)
treea260242aa09a93b149240e38560979b2fc851118 /net-mgmt
parent5b00fab3272ab72bdba7c1aee855e1513edf1248 (diff)
- Resolve build under 10 when security/openssl is installed
- Bump PORTREVISION for easy tracking
Notes
Notes: svn path=/head/; revision=359898
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 5332a113e408..a1e204bbec93 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -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-internal-md5 \
--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::