Page MenuHomeFreeBSD

net-mgmt/net-snmp: Respect LDFLAGS.
ClosedPublic

Authored by bdrewery on Dec 12 2025, 1:20 AM.
Tags
None
Referenced Files
F160001834: D54183.diff
Sat, Jun 20, 10:32 AM
Unknown Object (File)
Sat, Jun 13, 11:09 AM
Unknown Object (File)
Thu, Jun 11, 7:57 PM
Unknown Object (File)
Thu, Jun 4, 10:30 PM
Unknown Object (File)
Thu, Jun 4, 8:29 AM
Unknown Object (File)
May 14 2026, 3:15 PM
Unknown Object (File)
May 14 2026, 7:42 AM
Unknown Object (File)
May 14 2026, 3:42 AM
Subscribers

Details

Summary

No functional change intended.

Sponsored by: Dell

Test Plan
  • Poudriere testport passes.
  • make -V output
# make -V LDFLAGS
 -lm -lkvm -ldevstat  -L/lib -L/usr/local/lib -lcrypto -Wl,-rpath,/usr/local/lib
# make -V CONFIGURE_ARGS
--enable-shared --enable-internal-md5  --with-default-snmp-version="3"  --with-sys-contact="nobody@nowhere.invalid"  --with-sys-location="somewhere"  --with-logfile="/var/log/snmpd.log"  --with-persistent-directory="/var/net-snmp"  --with-gnu-ld --without-libwrap --enable-ipv6  --without-kmem-usage  --with-ldflags=\ -lm\ -lkvm\ -ldevstat\ \ -L/lib\ -L/usr/local/lib\ -lcrypto\ -Wl,-rpath,/usr/local/lib\  --with-python-modules --with-openssl="/usr/local" --with-dummy-values --with-perl-modules --enable-embedded-perl --with-mib-modules="host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio smux" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
  • During build
[00:02:07] checking for Perl LDFLAGS...   -Wl,-R/usr/local/lib/perl5/5.42/mach/CORE -pthread -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/local/lib/perl5/5.42/mach/CORE -lperl -ldl -lm -lcrypt -lutil

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable