summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Coie <rac@gentoo.org>2004-08-03 04:10:29 +0000
committerRobert Coie <rac@gentoo.org>2004-08-03 04:10:29 +0000
commitc3fcfdf75ad4df461caaf5c2254d4b0e2f0cac1f (patch)
tree31d6c7613738992d698fd212de6580e745e21621 /dev-perl
parentmove to hppa stable since 5.3 doesnt actually work :) (Manifest recommit) (diff)
downloadgentoo-2-c3fcfdf75ad4df461caaf5c2254d4b0e2f0cac1f.tar.gz
gentoo-2-c3fcfdf75ad4df461caaf5c2254d4b0e2f0cac1f.tar.bz2
gentoo-2-c3fcfdf75ad4df461caaf5c2254d4b0e2f0cac1f.zip
get perl out of global scope
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/XML-SAX/ChangeLog5
-rw-r--r--dev-perl/XML-SAX/XML-SAX-0.12.ebuild17
2 files changed, 13 insertions, 9 deletions
diff --git a/dev-perl/XML-SAX/ChangeLog b/dev-perl/XML-SAX/ChangeLog
index f005962054e1..49ea28ec9225 100644
--- a/dev-perl/XML-SAX/ChangeLog
+++ b/dev-perl/XML-SAX/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-perl/XML-SAX
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.17 2004/06/25 01:13:30 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.18 2004/08/03 04:10:29 rac Exp $
+
+ 02 Aug 2004; Robert Coie <rac@gentoo.org> XML-SAX-0.12.ebuild:
+ get perl out of global scope
01 May 2004; Michael Cummings <mcummings@gentoo.org> XML-SAX-0.12.ebuild:
Syntax change in the echo - seems to have changed between versions of XML-SAX,
diff --git a/dev-perl/XML-SAX/XML-SAX-0.12.ebuild b/dev-perl/XML-SAX/XML-SAX-0.12.ebuild
index 49a9bf2d4fdd..39745890dfe9 100644
--- a/dev-perl/XML-SAX/XML-SAX-0.12.ebuild
+++ b/dev-perl/XML-SAX/XML-SAX-0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.12.ebuild,v 1.8 2004/07/14 21:16:45 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.12.ebuild,v 1.9 2004/08/03 04:10:29 rac Exp $
inherit perl-module
@@ -15,12 +15,13 @@ IUSE=""
DEPEND="${DEPEND}
>=dev-perl/XML-NamespaceSupport-1.04
- >=dev-libs/libxml2-2.4.1"
+ >=dev-libs/libxml2-2.4.1
+ >=sys-apps/sed-4"
-export PERL5LIB=`perl -e 'print map { ":$ENV{D}/$_" } @INC'`
-
-src_compile() {
- echo "" |perl Makefile.PL ${myconf} \
- PREFIX=${D}/usr
- make || test
+src_unpack() {
+ local installvendorlib
+ eval $(perl '-V:installvendorlib')
+ unpack ${A}
+ sed -i -e "s,\(-MXML::SAX\),-I${D}/${installvendorlib} \1," ${S}/Makefile.PL
}
+