Bump to EAPI=3, add prefix keywords
authorJonathan Callen <jcallen@gentoo.org>
Tue, 6 Apr 2010 16:14:09 +0000 (16:14 +0000)
committerJonathan Callen <jcallen@gentoo.org>
Tue, 6 Apr 2010 16:14:09 +0000 (16:14 +0000)
Package-Manager: portage--svn/cvs/Linux i686

app-text/dictd/ChangeLog
app-text/dictd/dictd-1.11.2.ebuild
app-text/enchant/ChangeLog
app-text/enchant/enchant-1.5.0.ebuild

index 961c14d4ab5c38ca180b52c520543cc5f6ff075e..0233d7eb729ff1b0eb0b3a19e371e6972b593f44 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for app-text/dictd
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.84 2010/04/04 18:44:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.85 2010/04/06 16:12:02 abcd Exp $
+
+  06 Apr 2010; Jonathan Callen <abcd@gentoo.org> dictd-1.11.2.ebuild:
+  Bump to EAPI=3, add prefix keywords
 
   04 Apr 2010; Raúl Porcel <armin76@gentoo.org> dictd-1.11.2.ebuild:
   alpha/ia64/sparc stable wrt #310023
index 039c2bf59f4db363e2c43e601884022270634d23..d6725f6931e76308d2b2282a70f7b90d4af07f65 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild,v 1.5 2010/04/04 18:44:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild,v 1.6 2010/04/06 16:12:02 abcd Exp $
 
-EAPI="2"
+EAPI="3"
 
 inherit eutils
 
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
 SLOT="0"
 # We install rfc so - ISOC-rfc
 LICENSE="GPL-2 ISOC-rfc"
-KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
 IUSE="dbi judy minimal"
 
 # <gawk-3.1.6 makes tests fail.
@@ -33,13 +33,16 @@ pkg_setup() {
 
 src_prepare() {
        epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch"
+
+       [[ ${CHOST} == *-darwin* ]] && \
+               sed -i -e 's:libtool:glibtool:g' libmaa/Makefile.in Makefile.in
 }
 
 src_configure() {
        econf \
                $(use_with dbi plugin-dbi) \
                $(use_with judy plugin-judy) \
-               --sysconfdir=/etc/dict
+               --sysconfdir="${EPREFIX}"/etc/dict
 }
 
 src_compile() {
index 7b319b7832408cf210a8fd160499acc807284cbf..5c2ea1dddfcf77274bb7dab0f709b3d691a6427f 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for app-text/enchant
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/ChangeLog,v 1.97 2010/03/09 17:40:33 serkan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/ChangeLog,v 1.98 2010/04/06 16:14:09 abcd Exp $
+
+  06 Apr 2010; Jonathan Callen <abcd@gentoo.org> enchant-1.5.0.ebuild:
+  Bump to EAPI=3, add prefix keywords
 
 *enchant-1.5.0 (09 Mar 2010)
 
index 9ac27a659bee117b1578912a581f953c402d6f4f..b15ee8b1958c0d0b53eb6f07ba4f02e4ffd5ed02 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/enchant-1.5.0.ebuild,v 1.1 2010/03/09 17:40:33 serkan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/enchant-1.5.0.ebuild,v 1.2 2010/04/06 16:14:09 abcd Exp $
 
-EAPI="1"
+EAPI="3"
 inherit libtool confutils autotools
 
 DESCRIPTION="Spellchecker wrapping library"
@@ -11,7 +11,7 @@ SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
 IUSE="aspell +hunspell zemberek"
 
 COMMON_DEPENDS=">=dev-libs/glib-2
@@ -30,7 +30,7 @@ pkg_setup() {
        confutils_require_any aspell hunspell zemberek
 }
 
-src_unpack() {
+src_prepare() {
        unpack ${A}
        cd "${S}"
        # Fix for upstream bug #12305
@@ -41,13 +41,12 @@ src_unpack() {
        eautoreconf
 }
 
-src_compile() {
+src_configure() {
        econf $(use_enable aspell) \
                $(use_enable hunspell myspell) \
                $(use_enable zemberek) \
                --disable-ispell \
-               --with-myspell-dir=/usr/share/myspell/
-       emake || die "emake failed"
+               --with-myspell-dir="${EPREFIX}"/usr/share/myspell/
 }
 
 src_install() {