diff --git a/srcpkgs/net-tools/template b/srcpkgs/net-tools/template index 1d0f50a98c6..cb4be227174 100644 --- a/srcpkgs/net-tools/template +++ b/srcpkgs/net-tools/template @@ -1,7 +1,7 @@ # Template file for 'net-tools' pkgname=net-tools version=1.60.20140221git -revision=1 +revision=2 hostmakedepends="git" short_desc="Basic networking tools" maintainer="Juan RP " @@ -11,20 +11,20 @@ license="GPL-2" do_fetch() { git clone git://git.code.sf.net/p/net-tools/code ${pkgname}-${version} } - pre_build() { sed -i "s#/sbin#/bin#" Makefile sed -i "s#/usr##" man/Makefile } - do_build() { replace_interpreter bash configure.sh yes "" | make } - do_install() { make DESTDIR=${DESTDIR}/usr update # Remove hostname(1), conflicts with coreutils/busybox. rm ${DESTDIR}/usr/bin/hostname rm ${DESTDIR}/usr/share/man/man1/hostname.1 + # Remove dnsdomainname(1), conflicts with busybox/inetutils. + rm ${DESTDIR}/usr/bin/*domainname + rm ${DESTDIR}/usr/share/man/man1/*domainname* }