[packages] polipo: solve a bunch of "sh: bad number" errors in init script, always...
[openwrt/svn-archive/archive.git] / net / iputils / patches / 002-fix-ipv6.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -18,7 +18,10 @@ CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES)
4
5 IPV4_TARGETS=tracepath ping clockdiff arping tftpd
6 IPV6_TARGETS=tracepath6 traceroute6 ping6
7 -TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
8 +TARGETS=$(IPV4_TARGETS)
9 +ifeq ($(CONFIG_IPV6),y)
10 + TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
11 +endif
12
13 LASTTAG:=`git-describe HEAD | sed -e 's/-.*//'`
14 TAG:=`date +s%Y%m%d`