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

35 lines
1.5 KiB
Plaintext

$OpenBSD: patch-apps_Makefile_in,v 1.5 2010/10/25 22:59:12 sthen Exp $
--- apps/Makefile.in.orig Fri Jul 2 17:27:52 2010
+++ apps/Makefile.in Wed Oct 6 23:27:10 2010
@@ -46,7 +46,7 @@ INSTALLBINPROGS = snmpget$(EXEEXT) \
INSTALLSBINPROGS = snmptrapd$(EXEEXT)
-INSTALLLIBS = libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION)
+INSTALLLIBS = libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION)
SUBDIRS = snmpnetstat
@@ -55,9 +55,9 @@ SUBDIRS = snmpnetstat
#
# USELIBS/USEAGENTLIBS are for dependencies
-USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
-AGENTLIB = ../agent/libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
-MIBLIB = ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
+USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION)
+AGENTLIB = ../agent/libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION)
+MIBLIB = ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION)
USEAGENTLIBS = $(MIBLIB) $(AGENTLIB) $(USELIBS)
MYSQL_LIBS = @MYSQL_LIBS@
MYSQL_INCLUDES = @MYSQL_INCLUDES@
@@ -160,7 +160,7 @@ encode_keychange$(EXEEXT): encode_keychange.$(OSUFF
snmpdf$(EXEEXT): snmpdf.$(OSUFFIX) $(USELIBS)
$(LINK) ${CFLAGS} -o $@ snmpdf.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
-libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
+libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION): $(LLIBTRAPD_OBJS)
$(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(USELIBS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS)
$(RANLIB) $@