whois: remove libintl workaround for musl, unnecessary.
This commit is contained in:
parent
ae6f70ef04
commit
1658d56d44
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'whois'
|
# Template file for 'whois'
|
||||||
pkgname=whois
|
pkgname=whois
|
||||||
version=5.2.8
|
version=5.2.8
|
||||||
revision=1
|
revision=2
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
makedepends="libidn-devel"
|
makedepends="libidn-devel"
|
||||||
|
@ -13,10 +13,7 @@ distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
|
||||||
checksum=f053ebe766f7a6f42859e6a4abd3f18741f9788aaeb1b129c3c8de95085635da
|
checksum=f053ebe766f7a6f42859e6a4abd3f18741f9788aaeb1b129c3c8de95085635da
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
make CC=$CC prefix=/usr HAVE_LIBIDN=1
|
||||||
*-musl) LIBS="-lintl";;
|
|
||||||
esac
|
|
||||||
make CC=$CC prefix=/usr HAVE_LIBIDN=1 LIBS="$LIBS"
|
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
make prefix=/usr BASEDIR=${DESTDIR} install-whois
|
||||||
|
|
Loading…
Reference in a new issue