1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net/net-snmp/files/patch-aa
Bill Fumerola 22667fa925 Upgrade to version 4.2
Some of the shared library magic is very hackish, however the net-snmp
library building make-fu is hackish as well, so I don't feel bad about it.

This commit also (re-)enables the host module for much more information.
It also fixes a long standing bug where 'snmpwalk localhost public' would
hang.
2001-01-18 09:58:30 +00:00

14 lines
413 B
Plaintext

--- snmplib/Makefile.in.orig Mon Oct 2 11:41:46 2000
+++ snmplib/Makefile.in Wed Jan 17 18:29:44 2001
@@ -70,6 +70,10 @@
libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS}
$(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS}
+ ld -Bshareable -soname libsnmp.so.4 \
+ -o libsnmp.so ${OBJS}
+ ln -f libsnmp.so \
+ ../libsnmp.so.4
$(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
installdirs: