diff options
-rw-r--r-- | sci-libs/clipper/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/clipper/clipper-20070528.ebuild | 20 |
2 files changed, 16 insertions, 11 deletions
diff --git a/sci-libs/clipper/ChangeLog b/sci-libs/clipper/ChangeLog index 42f29340cc6d..71abe4d931db 100644 --- a/sci-libs/clipper/ChangeLog +++ b/sci-libs/clipper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/clipper # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.1 2007/05/29 08:08:17 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.2 2007/05/30 22:00:27 dberkholz Exp $ + + 30 May 2007; Donnie Berkholz <dberkholz@gentoo.org>; + clipper-20070528.ebuild: + Move the sed to change the includes to use clipper-2 to after the install, + so it compiles properly. Keyword ~ppc. *clipper-20070528 (29 May 2007) diff --git a/sci-libs/clipper/clipper-20070528.ebuild b/sci-libs/clipper/clipper-20070528.ebuild index f29dc48adca2..428349f6e2ff 100644 --- a/sci-libs/clipper/clipper-20070528.ebuild +++ b/sci-libs/clipper/clipper-20070528.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/clipper-20070528.ebuild,v 1.1 2007/05/29 08:08:17 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/clipper-20070528.ebuild,v 1.2 2007/05/30 22:00:27 dberkholz Exp $ inherit autotools @@ -10,7 +10,7 @@ HOMEPAGE="http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html" SRC_URI="http://dev.gentoo.org/~dberkholz/distfiles/clipper20ac.latest-${PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~x86 ~ppc" IUSE="" RDEPEND="sci-chemistry/ccp4" DEPEND="${RDEPEND}" @@ -31,14 +31,6 @@ src_unpack() { || die "sed to version libs with -2 failed" eend $? - # Use '-2' suffix in headers - ebegin "changing headers to use -2 suffix" - grep 'include.*clipper' -rl . \ - | xargs sed -i \ - -e "s~\(include.*clipper\)/~\1-2/~g" \ - || die "sed to find -2 slotted headers failed" - eend $? - AT_M4DIR="config" eautoreconf } @@ -65,4 +57,12 @@ src_install() { pkgincludedir=/usr/include/clipper-2 \ install \ || die "emake install failed" + + # Use '-2' suffix in headers + ebegin "changing headers to use -2 suffix" + grep 'include.*clipper' -rl "${D}" \ + | xargs sed -i \ + -e "s~\(include.*clipper\)/~\1-2/~g" \ + || die "sed to find -2 slotted headers failed" + eend $? } |