$OpenBSD: patch-apps_Makefile_in,v 1.2 2006/01/08 11:36:04 steven Exp $
--- apps/Makefile.in.orig	Tue Jan  3 16:31:37 2006
+++ apps/Makefile.in	Tue Jan  3 16:36:59 2006
@@ -28,7 +28,7 @@ INSTALLBINPROGS	= snmpget$(EXEEXT) 			\
 
 INSTALLSBINPROGS = snmptrapd$(EXEEXT)
 
-INSTALLLIBS     = libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION)
+INSTALLLIBS     = libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION)
 
 SUBDIRS		= snmpnetstat
 
@@ -37,8 +37,8 @@ SUBDIRS		= snmpnetstat
 #
 
 # USELIBS/USEAGENTLIBS are for dependencies
-USELIBS		= ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) 
-USEAGENTLIBS	= ../agent/libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ../agent/helpers/libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION) $(USELIBS)
+USELIBS		= ../snmplib/libnetsnmp.$(LIB_EXTENSION)$(LIBnetsnmp_VERSION) 
+USEAGENTLIBS	= ../agent/libnetsnmpagent.$(LIB_EXTENSION)$(LIBnetsmmpagent_VERSION) ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIBnetsnmpmibs_VERSION) ../agent/helpers/libnetsnmphelpers.$(LIB_EXTENSION)$(LIBnetsnmphelpers_VERSION) $(USELIBS)
 
 #
 # link path in src dir
@@ -128,9 +128,9 @@ encode_keychange$(EXEEXT):    encode_key
 snmpdf$(EXEEXT):    snmpdf.$(OSUFFIX) $(USELIBS)
 	$(LINK) -o $@ snmpdf.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS} 
 
-libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
-	$(LIB_LD_CMD) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBTRAPD_OBJS}  $(LIB_LD_LIBS)
-	$(RANLIB) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION)
+libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION): $(LLIBTRAPD_OBJS)
+	$(LIB_LD_CMD) libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION) ${LLIBTRAPD_OBJS}  $(LIB_LD_LIBS)
+	$(RANLIB) libnetsnmptrapd.$(LIB_EXTENSION)$(LIBnetsnmptrapd_VERSION)
 
 snmpinforminstall:
 	rm -f $(INSTALL_PREFIX)$(bindir)/snmpinform$(EXEEXT)
