projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1aa6db
)
[packages] net-snmp: Enable ipv6 support if defined globally
author
Vasilis Tsiligiannis
<acinonyx@openwrt.gr>
Sun, 9 Aug 2009 22:54:27 +0000
(22:54 +0000)
committer
Vasilis Tsiligiannis
<acinonyx@openwrt.gr>
Sun, 9 Aug 2009 22:54:27 +0000
(22:54 +0000)
SVN-Revision: 17207
libs/net-snmp/Makefile
patch
|
blob
|
history
diff --git
a/libs/net-snmp/Makefile
b/libs/net-snmp/Makefile
index 14b271a34ddec1c8167e93369be89a568cd3ac5f..c3f10b79774e1496ad46de70bd124a0cda42417e 100644
(file)
--- a/
libs/net-snmp/Makefile
+++ b/
libs/net-snmp/Makefile
@@
-143,10
+143,6
@@
SNMP_MIB_MODULES_EXCLUDED = \
SNMP_TRANSPORTS_INCLUDED = Callback UDP
-ifeq ($(CONFIG_IPV6),y)
-SNMP_TRANSPORTS_INCLUDED+= UDPIPv6
-endif
-
SNMP_TRANSPORTS_EXCLUDED = TCP TCPIPv6 Unix
TARGET_CFLAGS += $(FPIC)
@@
-174,6
+170,11
@@
CONFIGURE_ARGS += \
--without-rpm \
--without-zlib \
+ifeq ($(CONFIG_IPV6),y)
+SNMP_TRANSPORTS_INCLUDED+= UDPIPv6
+CONFIGURE_ARGS+= --enable-ipv6
+endif
+
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)