Module: sip-router
Branch: master
Commit: 50b647f0e51ee951c1a6441e8bb99228980dbd89
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=50b647f…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Sun Dec 15 20:07:10 2013 +0100
snmpstats: use basedir for INSTALLMIDIRS
---
modules/snmpstats/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/snmpstats/Makefile b/modules/snmpstats/Makefile
index 0778be1..6a088ed 100644
--- a/modules/snmpstats/Makefile
+++ b/modules/snmpstats/Makefile
@@ -14,10 +14,10 @@ ifeq ($(BUILDER),)
DEFS +=-I$(LOCALBASE)/include
BUILDAGENTLIBS =-L$(LOCALBASE)/lib -lnetsnmpmibs -lnetsnmpagent \
-lnetsnmphelpers -lnetsnmp
- INSTALLMIBDIR = $(cfg-prefix)/share/snmp/mibs
+ INSTALLMIBDIR = $(basedir)$(cfg-prefix)/share/snmp/mibs
else
BUILDAGENTLIBS = $(shell net-snmp-config --netsnmp-agent-libs)
- INSTALLMIBDIR = $(cfg-prefix)$(shell net-snmp-config --prefix)/share/snmp/mibs
+ INSTALLMIBDIR = $(basedir)$(cfg-prefix)$(shell net-snmp-config
--prefix)/share/snmp/mibs
endif
ifeq ($(EMBEDDED_PERL),1)