/[gentoo-x86]/sys-devel/gettext/gettext-0.17.ebuild
Gentoo

Diff of /sys-devel/gettext/gettext-0.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/Attic/gettext-0.17.ebuild,v 1.10 2008/01/09 00:39:38 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/Attic/gettext-0.17.ebuild,v 1.11 2008/01/14 04:44:45 vapier Exp $
4 4
5inherit flag-o-matic eutils multilib toolchain-funcs mono libtool 5inherit flag-o-matic eutils multilib toolchain-funcs mono libtool
6 6
7DESCRIPTION="GNU locale utilities" 7DESCRIPTION="GNU locale utilities"
8HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" 8HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html"
12SLOT="0" 12SLOT="0"
13KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" 13KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
14IUSE="acl doc emacs nls nocxx openmp" 14IUSE="acl doc emacs nls nocxx openmp"
15 15
16DEPEND="virtual/libiconv 16DEPEND="virtual/libiconv
17 dev-libs/libcroco
18 dev-libs/libxml2 17 dev-libs/libxml2
19 sys-libs/ncurses 18 sys-libs/ncurses
20 dev-libs/expat 19 dev-libs/expat
21 acl? ( sys-apps/acl )" 20 acl? ( sys-apps/acl )"
22PDEPEND="emacs? ( app-emacs/po-mode )" 21PDEPEND="emacs? ( app-emacs/po-mode )"
35 # http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html 34 # http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html
36 sed -i \ 35 sed -i \
37 -e '2iexit 77' \ 36 -e '2iexit 77' \
38 autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests" 37 autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests"
39 38
39 # until upstream pulls a new gnulib/acl, we have to hack around it
40 if ! use acl ; then
41 eval export ac_cv_func_acl{,delete_def_file,extended_file,free,from_{mode,text},{g,s}et_{fd,file}}=no
42 export ac_cv_header_acl_libacl_h=no
43 export ac_cv_header_sys_acl_h=no
44 export ac_cv_search_acl_get_file=no
45 export gl_cv_func_working_acl_get_file=no
40 use acl || sed -i 's:use_acl=1:use_acl=0:' gettext-tools/configure 46 sed -i -e 's:use_acl=1:use_acl=0:' gettext-tools/configure
47 fi
41} 48}
42 49
43src_compile() { 50src_compile() {
44 local myconf="" 51 local myconf=""
45 # Build with --without-included-gettext (on glibc systems) 52 # Build with --without-included-gettext (on glibc systems)
48 else 55 else
49 myconf="${myconf} --with-included-gettext --enable-nls" 56 myconf="${myconf} --with-included-gettext --enable-nls"
50 fi 57 fi
51 use nocxx && export CXX=$(tc-getCC) 58 use nocxx && export CXX=$(tc-getCC)
52 59
53 # Emacs support is now in a separate package, so configure --without-emacs 60 # --without-emacs: Emacs support is now in a separate package
61 # --with-included-glib: glib depends on us so avoid circular deps
62 # --with-included-libcroco: libcroco depends on glib which ... ^^^
54 econf \ 63 econf \
55 --docdir="/usr/share/doc/${PF}" \ 64 --docdir="/usr/share/doc/${PF}" \
56 --without-emacs \ 65 --without-emacs \
57 --disable-java \ 66 --disable-java \
58 --with-included-glib \ 67 --with-included-glib \
68 --with-included-libcroco \
59 $(use_enable openmp) \ 69 $(use_enable openmp) \
60 ${myconf} \ 70 ${myconf} \
61 || die 71 || die
62 emake || die 72 emake || die
63} 73}

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20