summaryrefslogtreecommitdiffstats
path: root/main/kamailio/0002-snmpstats-makefile.patch
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2014-01-13 16:32:06 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-01-13 16:42:08 +0000
commit9ada4ed84c23858c4d2c2a23704fd1dcfe589139 (patch)
tree0984a1a169a154c6c5930b27aa1ea2b315bb71ef /main/kamailio/0002-snmpstats-makefile.patch
parent01a7c81021f120620f789f7ec4c7fe7f710866c8 (diff)
downloadaports-9ada4ed84c23858c4d2c2a23704fd1dcfe589139.tar.bz2
aports-9ada4ed84c23858c4d2c2a23704fd1dcfe589139.tar.xz
main/kamailio: upgrade to 4.1.1
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 000000000..ff41ec7ac
--- /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)