whois: remove libintl workaround for musl, unnecessary.

This commit is contained in:
Juan RP 2015-05-22 08:38:03 +02:00
parent ae6f70ef04
commit 1658d56d44

View file

@ -1,7 +1,7 @@
# Template file for 'whois'
pkgname=whois
version=5.2.8
revision=1
revision=2
build_pie=yes
hostmakedepends="perl"
makedepends="libidn-devel"
@ -13,10 +13,7 @@ distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=f053ebe766f7a6f42859e6a4abd3f18741f9788aaeb1b129c3c8de95085635da
do_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl) LIBS="-lintl";;
esac
make CC=$CC prefix=/usr HAVE_LIBIDN=1 LIBS="$LIBS"
make CC=$CC prefix=/usr HAVE_LIBIDN=1
}
do_install() {
make prefix=/usr BASEDIR=${DESTDIR} install-whois