packages/net/iputils/patches/002-fix-ipv6.patch
acoul b58ccc42eb net/iputils: update to iputils-20100418
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 09:59:54 +00:00

15 lines
398 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,10 @@ CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES)
IPV4_TARGETS=tracepath ping clockdiff arping tftpd
IPV6_TARGETS=tracepath6 traceroute6 ping6
-TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
+TARGETS=$(IPV4_TARGETS)
+ifeq ($(CONFIG_IPV6),y)
+ TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
+endif
LASTTAG:=`git-describe HEAD | sed -e 's/-.*//'`
TAG:=`date +s%Y%m%d`