diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-14 04:44:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-14 04:44:45 +0000 |
commit | e55305536643634c0ff9097e801c4c87367c39b5 (patch) | |
tree | 4ed6cd29542b7af4071b7a43a53f4e68ae79b6f9 /sys-devel/gettext/gettext-0.17.ebuild | |
parent | Stable on amd64. (diff) | |
download | gentoo-2-e55305536643634c0ff9097e801c4c87367c39b5.tar.gz gentoo-2-e55305536643634c0ff9097e801c4c87367c39b5.tar.bz2 gentoo-2-e55305536643634c0ff9097e801c4c87367c39b5.zip |
Flip back to internal libcroco to avoid glib/gettext circular deps #204851 by Robin Johnson. Make sure we control all acl aspects (headers and libs) by forcing autoconf tests until gnulib/acl gets updated upstream #205568 by Robin Johnson.
(Portage version: 2.1.4)
Diffstat (limited to 'sys-devel/gettext/gettext-0.17.ebuild')
-rw-r--r-- | sys-devel/gettext/gettext-0.17.ebuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sys-devel/gettext/gettext-0.17.ebuild b/sys-devel/gettext/gettext-0.17.ebuild index 66d234af13fb..4c987c393462 100644 --- a/sys-devel/gettext/gettext-0.17.ebuild +++ b/sys-devel/gettext/gettext-0.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.17.ebuild,v 1.10 2008/01/09 00:39:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.17.ebuild,v 1.11 2008/01/14 04:44:45 vapier Exp $ inherit flag-o-matic eutils multilib toolchain-funcs mono libtool @@ -14,7 +14,6 @@ KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fb IUSE="acl doc emacs nls nocxx openmp" DEPEND="virtual/libiconv - dev-libs/libcroco dev-libs/libxml2 sys-libs/ncurses dev-libs/expat @@ -37,7 +36,15 @@ src_unpack() { -e '2iexit 77' \ autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests" - use acl || sed -i 's:use_acl=1:use_acl=0:' gettext-tools/configure + # until upstream pulls a new gnulib/acl, we have to hack around it + if ! use acl ; then + eval export ac_cv_func_acl{,delete_def_file,extended_file,free,from_{mode,text},{g,s}et_{fd,file}}=no + export ac_cv_header_acl_libacl_h=no + export ac_cv_header_sys_acl_h=no + export ac_cv_search_acl_get_file=no + export gl_cv_func_working_acl_get_file=no + sed -i -e 's:use_acl=1:use_acl=0:' gettext-tools/configure + fi } src_compile() { @@ -50,12 +57,15 @@ src_compile() { fi use nocxx && export CXX=$(tc-getCC) - # Emacs support is now in a separate package, so configure --without-emacs + # --without-emacs: Emacs support is now in a separate package + # --with-included-glib: glib depends on us so avoid circular deps + # --with-included-libcroco: libcroco depends on glib which ... ^^^ econf \ --docdir="/usr/share/doc/${PF}" \ --without-emacs \ --disable-java \ --with-included-glib \ + --with-included-libcroco \ $(use_enable openmp) \ ${myconf} \ || die |