[sr-dev] git:4.1: snmpstats: fixed path for deploying mibs when net-snmp-config is used

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 14 09:21:33 CET 2014


Module: sip-router
Branch: 4.1
Commit: ac1f9f9b601f3a6f3e53d55c5a061f35df6524e2
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ac1f9f9b601f3a6f3e53d55c5a061f35df6524e2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue Jan 14 08:59:17 2014 +0100

snmpstats: fixed path for deploying mibs when net-snmp-config is used

(cherry picked from commit 777548d79f17a6eb81d241e18b22329e9654e951)

---

 modules/snmpstats/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/snmpstats/Makefile b/modules/snmpstats/Makefile
index a26c93e..ea986ac 100644
--- a/modules/snmpstats/Makefile
+++ b/modules/snmpstats/Makefile
@@ -17,7 +17,7 @@ ifeq ($(BUILDER),)
 	INSTALLMIBDIR =  $(share_prefix)/share/snmp/mibs
 else
 	BUILDAGENTLIBS = $(shell net-snmp-config --netsnmp-agent-libs)
-	INSTALLMIBDIR = $(share_prefix)$(shell net-snmp-config --prefix)/share/snmp/mibs
+	INSTALLMIBDIR = $(basedir)$(shell net-snmp-config --prefix)/share/snmp/mibs
 endif 
 
 ifeq ($(EMBEDDED_PERL),1)




More information about the sr-dev mailing list