freebsd-ports/net/net-snmp4/files/patch-aa
Jacques Vidrine 1ba8503392 * Upgrade to 3.5.3.
* Patch for ELF.
* Create ${PREFIX}/etc/snmpd.sh.sample instead of ${PREFIX}/etc/snmp.sh.
1998-10-19 22:43:09 +00:00

15 lines
482 B
Plaintext

--- snmplib/Makefile.in.orig Mon Sep 7 16:19:24 1998
+++ snmplib/Makefile.in Mon Oct 19 16:16:19 1998
@@ -23,7 +23,10 @@
all: $(TARG)
libsnmp.$(SHLIB_EXTENSION): ${OBJS}
- $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION) ${OBJS}
+ ld -Bshareable -soname libsnmp.$(SHLIB_EXTENSION).$(SHLIB_VERSION) \
+ -o libsnmp.$(SHLIB_EXTENSION) ${OBJS}
+ ln -f libsnmp.$(SHLIB_EXTENSION) \
+ libsnmp.$(SHLIB_EXTENSION).$(SHLIB_VERSION)
$(RANLIB) libsnmp.$(SHLIB_EXTENSION)
installdirs: