diff options
Diffstat (limited to 'dev-perl/XML-SAX/XML-SAX-0.12.ebuild')
-rw-r--r-- | dev-perl/XML-SAX/XML-SAX-0.12.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
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 } + |