summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-01-23 11:07:50 +0000
committerTorsten Veller <tove@gentoo.org>2010-01-23 11:07:50 +0000
commit2fcda10184b67aca5a9857aa802214b5667a7540 (patch)
treeb18a16fadad7e64734869b2ea0c389ba461a639f /dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild
parentnsplugin doesnt build with xulrunner 1.9.2, adjust the dep until properly fixed (diff)
downloadhistorical-2fcda10184b67aca5a9857aa802214b5667a7540.tar.gz
historical-2fcda10184b67aca5a9857aa802214b5667a7540.tar.bz2
historical-2fcda10184b67aca5a9857aa802214b5667a7540.zip
Remove YAML from Build.PL (#301442)
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild')
-rw-r--r--dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild b/dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild
index 4db939755225..e089393b52a1 100644
--- a/dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild
+++ b/dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild,v 1.5 2010/01/11 17:21:52 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/sdl-perl/sdl-perl-2.2.6.ebuild,v 1.6 2010/01/23 11:07:50 tove Exp $
EAPI=2
@@ -28,12 +28,15 @@ RDEPEND="virtual/opengl
>=media-libs/sdl-gfx-2.0.3
>=media-libs/sdl-net-1.2.4
mpeg? ( media-libs/smpeg )
- truetype? ( >=media-libs/sdl-ttf-2.0.5 )
- dev-lang/perl"
+ truetype? ( >=media-libs/sdl-ttf-2.0.5 )"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-CBuilder
>=virtual/perl-Module-Build-0.28"
S=${WORKDIR}/${MY_P}
-myconf="--extra_linker_flags='${LDFLAGS}'"
+src_prepare() {
+ # YAML is not used
+ sed -i "/^use YAML/d" "${S}"/Build.PL || die
+ perl-module_src_prepare
+}