openbsd-ports/net/net-snmp/patches/patch-snmplib_Makefile_in
sthen 41728dbfa1 update to Net-SNMP 5.7 and clean up the patches a lot.
- rc scripts added (names suggested by Nigel Taylor, I was having
a hard time coming up with something nice that avoid a conflict with
base snmpd now the rc.d namespace is shared).
2011-07-07 20:02:02 +00:00

22 lines
770 B
Plaintext

$OpenBSD: patch-snmplib_Makefile_in,v 1.6 2011/07/07 20:02:02 sthen Exp $
--- snmplib/Makefile.in.orig Fri Jul 1 23:35:46 2011
+++ snmplib/Makefile.in Wed Jul 6 23:15:53 2011
@@ -133,7 +133,7 @@ INSTALLUCDHEADERS= asn1.h \
transform_oids.h
# libraries
-INSTALLLIBS=libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
+INSTALLLIBS=libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION)
INSTALLUCDLIBS=libsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
#
@@ -229,7 +229,7 @@ CPPFLAGS = $(TOP_INCLUDES) -I. $(SNMPLIB_INCLUDES) @C
all: standardall
# how to build the libraries.
-libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION): $(TOBJS)
+libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION): $(TOBJS)
$(LIB_LD_CMD) $@ $(TOBJS) @LD_NO_UNDEFINED@ $(LDFLAGS) @LNETSNMPLIBS@
$(RANLIB) $@