gettext: force included gettext implementation with musl.
... otherwise libintl.so is skipped completely. Close #1840
This commit is contained in:
parent
c7fa3359ba
commit
f62e09d941
|
@ -9,7 +9,7 @@ configure_args="--disable-java --disable-native-java --disable-csharp
|
||||||
--disable-openmp --with-included-libxml --with-included-libcroco
|
--disable-openmp --with-included-libxml --with-included-libcroco
|
||||||
--disable-acl --with-included-glib --with-included-libcroco --without-git
|
--disable-acl --with-included-glib --with-included-libcroco --without-git
|
||||||
--with-included-libxml --disable-openmp --disable-curses
|
--with-included-libxml --disable-openmp --disable-curses
|
||||||
--without-examples gl_cv_func_gettimeofday_clobber=no"
|
--without-examples --enable-nls gl_cv_func_gettimeofday_clobber=no"
|
||||||
replaces="chroot-gettext>=0"
|
replaces="chroot-gettext>=0"
|
||||||
short_desc="Internationalized Message Handling Library and tools"
|
short_desc="Internationalized Message Handling Library and tools"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -18,6 +18,11 @@ license="GPL-3"
|
||||||
distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=8ac9f1ed1a5f8c4e656a2f37f5ba6b9ee04c4df79a575e876b0b6946aa417f3f
|
checksum=8ac9f1ed1a5f8c4e656a2f37f5ba6b9ee04c4df79a575e876b0b6946aa417f3f
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# force libintl
|
||||||
|
*-musl) configure_args+=" --with-included-gettext";;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends="automake libtool git"
|
hostmakedepends="automake libtool git"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Reference in New Issue