openbsd-ports/net/net-snmp/patches/patch-snmplib_Makefile_in
2010-10-25 22:59:12 +00:00

22 lines
770 B
Plaintext

$OpenBSD: patch-snmplib_Makefile_in,v 1.5 2010/10/25 22:59:12 sthen Exp $
--- snmplib/Makefile.in.orig Thu May 27 05:06:32 2010
+++ snmplib/Makefile.in Wed Oct 6 23:28:02 2010
@@ -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)
#
@@ -199,7 +199,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) $@