Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160515077
D54183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
877 B
Referenced Files
None
Subscribers
None
D54183.diff
View Options
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -52,7 +52,8 @@
LIB_DEPENDS= libpkg.so:${PKG_ORIGIN}
CFLAGS+= -I${LOCALBASE}/include -I${PKG_PREFIX}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -lm -lkvm -ldevstat \
+ -L${PKG_PREFIX}/lib -L${LOCALBASE}/lib ${LCRYPTO}
CONFIGURE_ENV+= PERLPROG="${PERL}" PSPROG="${PS_CMD}" SED="${SED}"
CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \
--with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \
@@ -62,7 +63,7 @@
--with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
--with-gnu-ld --without-libwrap --enable-ipv6 \
--without-kmem-usage \
- --with-ldflags="-lm -lkvm -ldevstat -L${PKG_PREFIX}/lib -L${LOCALBASE}/lib ${LCRYPTO}"
+ --with-ldflags=${LDFLAGS:Q}
SUB_FILES= pkg-message
.if defined(WITH_SSP)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 26, 6:51 AM (5 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34346701
Default Alt Text
D54183.diff (877 B)
Attached To
Mode
D54183: net-mgmt/net-snmp: Respect LDFLAGS.
Attached
Detach File
Event Timeline
Log In to Comment