aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/0002-snmpstats-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/kamailio/0002-snmpstats-makefile.patch')
-rw-r--r--main/kamailio/0002-snmpstats-makefile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/kamailio/0002-snmpstats-makefile.patch b/main/kamailio/0002-snmpstats-makefile.patch
new file mode 100644
index 0000000000..ff41ec7acf
--- /dev/null
+++ b/main/kamailio/0002-snmpstats-makefile.patch
@@ -0,0 +1,15 @@
+--- a/modules/snmpstats/Makefile
++++ b/modules/snmpstats/Makefile
+@@ -14,10 +14,10 @@
+ DEFS +=-I$(LOCALBASE)/include
+ BUILDAGENTLIBS =-L$(LOCALBASE)/lib -lnetsnmpmibs -lnetsnmpagent \
+ -lnetsnmphelpers -lnetsnmp
+- INSTALLMIBDIR = $(cfg-prefix)/share/snmp/mibs
++ INSTALLMIBDIR = $(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 = $(cfg_prefix)$(shell net-snmp-config --prefix)/share/snmp/mibs
+ endif
+
+ ifeq ($(EMBEDDED_PERL),1)