From fed7c05473ccbb4b626f8536f99140f0b6cda7b8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 22 Apr 2010 11:43:34 +0200 Subject: [PATCH] gettext: ignore ACL stuff. --HG-- extra : convert_revision : 94a06d1772b90def835f21e95056264612894b94 --- srcpkgs/gettext/template | 9 +++++++++ 1 file changed, 9 insertions(+) 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 +}