--- /usr/portage/www-client/elinks/elinks-0.10.5.ebuild 2005-06-08 03:05:57.000000000 +0200 +++ elinks-0.10.5.ebuild 2005-07-02 20:28:41.000000000 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.10.5.ebuild,v 1.2 2005/06/08 01:03:15 redhatter Exp $ +inherit eutils + IUSE="gpm zlib ssl ipv6 X lua guile" MY_P=${P/_/} @@ -13,7 +15,7 @@ SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~alpha ~ppc64 ~mips" +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~alpha ~ppc64 ppc-macos ~mipsi" DEPEND="virtual/libc >=app-arch/bzip2-1.0.2 @@ -37,6 +39,7 @@ -e 's:CONFIG_LEDS=.*:CONFIG_LEDS=yes:' \ -e 's:CONFIG_HTML_HIGHLIGHT=.*:CONFIG_HTML_HIGHLIGHT=yes:' \ ${S}/features.conf + use ppc-macos && epatch ${FILESDIR}/${P}-macos.patch } src_compile() { @@ -71,6 +74,14 @@ insinto /usr/share/doc/${PF}/contrib/lua ; doins contrib/lua/{*.lua,elinks-remote} insinto /usr/share/doc/${PF}/contrib/conv ; doins contrib/conv/*.* insinto /usr/share/doc/${PF}/contrib/guile ; doins contrib/guile/*.scm + + # Remove some conflicting files on OSX. The files provided by OSX 10.4 + # are more or less the same. -- Fabian Groffen (2005-06-30) + if use ppc-macos; + then + rm -f ${D}/usr/lib/charset.alias + rm -f ${D}/usr/share/locale/locale.alias + fi } # disable it as the only test available is interactive..