diff --git a/srcpkgs/gettext/template b/srcpkgs/gettext/template index 45e55aa5b7..0625925f1d 100644 --- a/srcpkgs/gettext/template +++ b/srcpkgs/gettext/template @@ -21,3 +21,12 @@ Add_dependency run gettext-libs Add_dependency run libgomp Add_dependency build ncurses-devel Add_dependency build diffutils + +post_configure() +{ + # Disable ACL. + sed -i 's@#define.*_ACL.*@/*&*/@g' ${wrksrc}/gettext-tools/config.h + for f in $(find ${wrksrc} -name Makefile); do + sed -i 's@-lacl@@g' ${f} + done +}