summaryrefslogtreecommitdiff
path: root/package/net-snmp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:45:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:45:05 +0100
commit6c3f7bc5593343058ab91c0b504fd67d3c0d1269 (patch)
treef57aae2e39a3e60895f08b6e93e95d1d5af1c8c5 /package/net-snmp
parent52549131197cd42dd61b50721e3f68e3d7585ec7 (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/net-snmp')
-rw-r--r--package/net-snmp/Makefile2
-rw-r--r--package/net-snmp/patches/patch-net-snmp-config_in15
2 files changed, 16 insertions, 1 deletions
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index d32401d33..0e21b9c3d 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -39,7 +39,7 @@ else
SNMP_TRANSPORTS_EXCLUDED:= TCPIPv6 UDPIPv6
endif
-TLDFLAGS+= -pthread
+TARGET_LDFLAGS+= -pthread
CONFIGURE_ARGS+= --with-defaults \
--with-persistent-directory=/etc/snmp \
--with-default-snmp-version=3 \
diff --git a/package/net-snmp/patches/patch-net-snmp-config_in b/package/net-snmp/patches/patch-net-snmp-config_in
new file mode 100644
index 000000000..2465be023
--- /dev/null
+++ b/package/net-snmp/patches/patch-net-snmp-config_in
@@ -0,0 +1,15 @@
+--- net-snmp-5.6.1.orig/net-snmp-config.in 2010-10-13 11:58:34.000000000 +0200
++++ net-snmp-5.6.1/net-snmp-config.in 2011-01-21 18:05:18.494919068 +0100
+@@ -127,10 +127,10 @@ else
+ ;;
+ #################################################### compile
+ --base-cflags)
+- echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
++ echo -I${NSC_INCLUDEDIR}
+ ;;
+ --cflags|--cf*)
+- echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
++ echo @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR}
+ ;;
+ --srcdir)
+ echo $NSC_SRCDIR