openbsd-ports/net/net-snmp/patches/patch-agent_Makefile_in

39 lines
2.1 KiB
Plaintext

$OpenBSD: patch-agent_Makefile_in,v 1.3 2007/05/19 10:52:06 rui Exp $
--- agent/Makefile.in.orig Sun May 6 20:22:22 2007
+++ agent/Makefile.in Sun May 6 20:29:13 2007
@@ -74,11 +74,11 @@ INSTALLUCDHEADERS= \
#
# how to build it info
#
-USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
-HELPERLIB = helpers/libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION)
+USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION)
+HELPERLIB = helpers/libnetsnmphelpers.$(LIB_EXTENSION)$(LIBnetsnmphelpers_VERSION)
LOCAL_LIBS =
PERLLDOPTS = @PERLLDOPTS@
-LIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) @AGENTLIBS@ $(PERLLDOPTS)
+LIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION) @AGENTLIBS@ $(PERLLDOPTS)
OUR_AGENT_LIBS = $(INSTALLLIBS) $(HELPERLIB) @WRAPLIBS@ $(LIBS) @DLLIBS@
CPPFLAGS = $(TOP_INCLUDES) -I. $(AGENT_INCLUDES) $(MIBGROUP_INCLUDES) \
$(SNMPLIB_INCLUDES) @CPPFLAGS@
@@ -136,13 +136,13 @@ snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(HELPERLIB)
$(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
-libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS}
- $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS)
- $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
+libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION): ${LLIBAGENTOBJS}
+ $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS)
+ $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION)
-libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS}
- $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) @SENSORLIBS@
- $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
+libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION): ${LMIBOBJS}
+ $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) @SENSORLIBS@
+ $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION)
agentlib: libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)