41728dbfa1
- 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).
35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
$OpenBSD: patch-apps_Makefile_in,v 1.6 2011/07/07 20:02:02 sthen Exp $
|
|
--- apps/Makefile.in.orig Fri Jul 1 23:35:46 2011
|
|
+++ apps/Makefile.in Wed Jul 6 23:15:53 2011
|
|
@@ -66,7 +66,7 @@ INSTALLBINPROGS = snmpget$(EXEEXT) \
|
|
|
|
INSTALLSBINPROGS = snmptrapd$(EXEEXT)
|
|
|
|
-INSTALLLIBS = libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION)
|
|
+INSTALLLIBS = libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION)
|
|
|
|
SUBDIRS = snmpnetstat
|
|
|
|
@@ -77,9 +77,9 @@ FEATUREFILE=../include/net-snmp/features-apps.h
|
|
#
|
|
|
|
# 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@
|
|
@@ -206,7 +206,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) $@
|
|
|