openbsd-ports/net/net-snmp/patches/patch-agent_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

42 lines
1.9 KiB
Plaintext

$OpenBSD: patch-agent_Makefile_in,v 1.6 2011/07/07 20:02:02 sthen Exp $
--- agent/Makefile.in.orig Fri Jul 1 23:35:46 2011
+++ agent/Makefile.in Wed Jul 6 23:15:52 2011
@@ -20,8 +20,8 @@ SUBDIRS=helpers mibgroup
FTSUBDIRS=mibgroup helpers
INSTALLSBINPROGS= @SNMPD@
-INSTALLLIBS = libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
-INSTALLPOSTLIBS = libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
+INSTALLLIBS = libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION)
+INSTALLPOSTLIBS = libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION)
INCLUDESUBDIR=agent
HEADERS=\
@@ -110,9 +110,9 @@ INSTALLUCDHEADERS= \
#
# how to build it info
#
-USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
-AGENTLIB = libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
-MIBLIB = libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
+USELIBS = ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION)
+AGENTLIB = libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION)
+MIBLIB = libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION)
LOCAL_LIBS = -L../snmplib/.libs -L../snmplib -L./.libs
LAGENTLIBS = @LAGENTLIBS@
@@ -297,11 +297,11 @@ snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $
$(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
-libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
+libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsnmpagent_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
$(LIB_LD_CMD) $(AGENTLIB) ${LLIBAGENTOBJS} $(USELIBS) ${LAGENTLIBS} @LD_NO_UNDEFINED@ $(LDFLAGS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS) @AGENTLIBS@
$(RANLIB) $(AGENTLIB)
-libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} $(AGENTLIB) $(USELIBS)
+libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION): ${LMIBOBJS} $(AGENTLIB) $(USELIBS)
$(LIB_LD_CMD) $(MIBLIB) ${LMIBOBJS} $(AGENTLIB) $(USELIBS) @LD_NO_UNDEFINED@ $(LDFLAGS) ${LMIBLIBS} $(LIB_LD_LIBS) @AGENTLIBS@
$(RANLIB) $(MIBLIB)