diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-11-30 18:41:29 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-11-30 18:41:29 +0000 |
commit | 300bfce60f35e65251c465a69dda1e8728b4430d (patch) | |
tree | a6ea3cd1c8e5c554ab0387e2641d2a081826f2eb /dev-perl/perl-tk/perl-tk-804.29.0.ebuild | |
parent | Bump. Adds support for Crucible expansion, fleet boosting, wormhole effects. (diff) | |
download | gentoo-2-300bfce60f35e65251c465a69dda1e8728b4430d.tar.gz gentoo-2-300bfce60f35e65251c465a69dda1e8728b4430d.tar.bz2 gentoo-2-300bfce60f35e65251c465a69dda1e8728b4430d.zip |
Fix building on Prefix platforms, bug #385621
(Portage version: 2.2.01.19572-prefix/cvs/Darwin i386)
Diffstat (limited to 'dev-perl/perl-tk/perl-tk-804.29.0.ebuild')
-rw-r--r-- | dev-perl/perl-tk/perl-tk-804.29.0.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-perl/perl-tk/perl-tk-804.29.0.ebuild b/dev-perl/perl-tk/perl-tk-804.29.0.ebuild index 8fd3b61e1a0e..df2d25fa3cf0 100644 --- a/dev-perl/perl-tk/perl-tk-804.29.0.ebuild +++ b/dev-perl/perl-tk/perl-tk-804.29.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.29.0.ebuild,v 1.3 2011/09/03 21:05:06 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.29.0.ebuild,v 1.4 2011/11/30 18:41:29 grobian Exp $ EAPI=4 @@ -28,9 +28,16 @@ SRC_TEST="skip" PATCHES=( "${FILESDIR}"/xorg.patch "${FILESDIR}"/804.028-path.patch "${FILESDIR}"/804.029-X11_XLIB_H.patch ) -# "${FILESDIR}"/${PN}-804.027-interix-x11.patch ) myconf="X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir)" mydoc="ToDo VERSIONS" MAKEOPTS+=" -j1" #333049 + +src_prepare() { + perl-module_src_prepare + # fix detection logic for Prefix, bug #385621 + sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die + # having this around breaks with perl-module and a case-IN-sensitive fs + rm build || die +} |