diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-11-02 18:13:16 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-11-02 18:13:16 +0000 |
commit | a8c52b3ace9d3b44e285ba4edde2faea2c8d25c8 (patch) | |
tree | 1f09681944486bf4c864cdff9f5ad44aaba2c4b0 /app-misc/sphinx | |
parent | Initial commit. Ebuild provided by Jason Wallace #341009 (diff) | |
download | gentoo-2-a8c52b3ace9d3b44e285ba4edde2faea2c8d25c8.tar.gz gentoo-2-a8c52b3ace9d3b44e285ba4edde2faea2c8d25c8.tar.bz2 gentoo-2-a8c52b3ace9d3b44e285ba4edde2faea2c8d25c8.zip |
Fix ebuilds for Prefix, keyworded 0.9.9-r1 ~ppc-macos
(Portage version: 2.2.01.17133-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'app-misc/sphinx')
-rw-r--r-- | app-misc/sphinx/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/sphinx/sphinx-0.9.9-r1.ebuild | 10 | ||||
-rw-r--r-- | app-misc/sphinx/sphinx-1.10_beta.ebuild | 8 |
3 files changed, 16 insertions, 8 deletions
diff --git a/app-misc/sphinx/ChangeLog b/app-misc/sphinx/ChangeLog index b885e05602db..cecb011176e2 100644 --- a/app-misc/sphinx/ChangeLog +++ b/app-misc/sphinx/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/sphinx # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.29 2010/07/21 13:02:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.30 2010/11/02 18:13:16 grobian Exp $ + + 02 Nov 2010; Fabian Groffen <grobian@gentoo.org> sphinx-0.9.9-r1.ebuild, + sphinx-1.10_beta.ebuild: + Fix ebuilds for Prefix, keyworded 0.9.9-r1 ~ppc-macos *sphinx-1.10_beta (21 Jul 2010) diff --git a/app-misc/sphinx/sphinx-0.9.9-r1.ebuild b/app-misc/sphinx/sphinx-0.9.9-r1.ebuild index 126d492a2184..7698a02f0827 100644 --- a/app-misc/sphinx/sphinx-0.9.9-r1.ebuild +++ b/app-misc/sphinx/sphinx-0.9.9-r1.ebuild @@ -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-misc/sphinx/sphinx-0.9.9-r1.ebuild,v 1.1 2010/06/20 15:25:25 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-0.9.9-r1.ebuild,v 1.2 2010/11/02 18:13:16 grobian Exp $ -EAPI=2 +EAPI=3 inherit eutils autotools MY_P=${P/_/-} @@ -18,7 +18,7 @@ SRC_URI="http://sphinxsearch.com/downloads/${MY_P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~ppc-macos" IUSE="debug id64 mysql postgres stemmer test" RDEPEND="mysql? ( virtual/mysql ) @@ -37,12 +37,14 @@ src_unpack() { } src_prepare() { + # drop nasty hardcoded search path breaking Prefix + sed -i -e '/\/usr\/local\//d' configure.ac || die eautoreconf } src_configure() { econf \ - --sysconfdir="/etc/${PN}" \ + --sysconfdir="${EPREFIX}/etc/${PN}" \ $(use_enable id64) \ $(use_with debug) \ $(use_with mysql) \ diff --git a/app-misc/sphinx/sphinx-1.10_beta.ebuild b/app-misc/sphinx/sphinx-1.10_beta.ebuild index e5eb0bb0ebf6..edb906b5fe87 100644 --- a/app-misc/sphinx/sphinx-1.10_beta.ebuild +++ b/app-misc/sphinx/sphinx-1.10_beta.ebuild @@ -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-misc/sphinx/sphinx-1.10_beta.ebuild,v 1.1 2010/07/21 13:02:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-1.10_beta.ebuild,v 1.2 2010/11/02 18:13:16 grobian Exp $ -EAPI=2 +EAPI=3 inherit eutils autotools MY_P=${P/_/-} @@ -38,12 +38,14 @@ src_unpack() { } src_prepare() { + # drop nasty hardcoded search path breaking Prefix + sed -i -e '/\/usr\/local\//d' configure.ac || die eautoreconf } src_configure() { econf \ - --sysconfdir="/etc/${PN}" \ + --sysconfdir="${EPREFIX}/etc/${PN}" \ $(use_enable id64) \ $(use_with debug) \ $(use_with mysql) \ |