diff --git a/srcpkgs/gettext/template b/srcpkgs/gettext/template index dfb11a1f886..2ab568366d2 100644 --- a/srcpkgs/gettext/template +++ b/srcpkgs/gettext/template @@ -14,7 +14,7 @@ configure_args="--disable-java --disable-native-java --disable-csharp # Either: # - Have xz in hostmakedepends; or # - Let gettext-devel depends on bzip2 -hostmakedepends="xz" +hostmakedepends="xz automake libtool" short_desc="Internationalized Message Handling Library and tools" maintainer="Enno Boland " license="GPL-3.0-or-later" @@ -36,12 +36,9 @@ else conflicts="gettext-libs>=0" fi -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" automake libtool" - pre_configure() { - autoreconf -fi - } -fi +pre_configure() { + autoreconf -fi +} post_install() { # don't overwrite musl's header