summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-11-30 18:41:29 +0000
committerFabian Groffen <grobian@gentoo.org>2011-11-30 18:41:29 +0000
commit300bfce60f35e65251c465a69dda1e8728b4430d (patch)
treea6ea3cd1c8e5c554ab0387e2641d2a081826f2eb /dev-perl
parentBump. Adds support for Crucible expansion, fleet boosting, wormhole effects. (diff)
downloadgentoo-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')
-rw-r--r--dev-perl/perl-tk/ChangeLog5
-rw-r--r--dev-perl/perl-tk/perl-tk-804.29.0.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-perl/perl-tk/ChangeLog b/dev-perl/perl-tk/ChangeLog
index c62f1bd2db9f..1b6e489862bd 100644
--- a/dev-perl/perl-tk/ChangeLog
+++ b/dev-perl/perl-tk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-perl/perl-tk
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/ChangeLog,v 1.83 2011/09/04 11:22:46 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/ChangeLog,v 1.84 2011/11/30 18:41:29 grobian Exp $
+
+ 30 Nov 2011; Fabian Groffen <grobian@gentoo.org> perl-tk-804.29.0.ebuild:
+ Fix building on Prefix platforms, bug #385621
04 Sep 2011; Torsten Veller <tove@gentoo.org> -perl-tk-804.029.ebuild:
Cleanup
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
+}