Perl 5.8.3 build updates, courtesy Josh Goldsmith.
authorChris Larson <clarson@kergoth.com>
Thu, 5 Aug 2004 02:50:02 +0000 (02:50 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 5 Aug 2004 02:50:02 +0000 (02:50 +0000)
BKrev: 4111a05avyAiTqrwhvscr4j1RVbRzQ

perl/perl-5.8.3/Makefile.SH.patch [new file with mode: 0644]
perl/perl-5.8.3/Makefile.patch [new file with mode: 0644]
perl/perl-5.8.3/config.sh-arm-linux.patch [new file with mode: 0644]
perl/perl_5.8.3.oe

diff --git a/perl/perl-5.8.3/Makefile.SH.patch b/perl/perl-5.8.3/Makefile.SH.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/perl/perl-5.8.3/Makefile.patch b/perl/perl-5.8.3/Makefile.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/perl/perl-5.8.3/config.sh-arm-linux.patch b/perl/perl-5.8.3/config.sh-arm-linux.patch
new file mode 100644 (file)
index 0000000..e69de29
index 18e7fa1..cb5461e 100644 (file)
@@ -2,13 +2,22 @@ DESCRIPTION = "Perl is a popular scripting language."
 SECTION = "developing"
 PRIORITY = "optional"
 DEPENDS = "db3 perl-native"
-SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz"
+SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
+       file://Makefile.patch;patch=1 \
+       file://config.sh-arm-linux.patch;patch=1 \
+       file://Makefile.SH.patch "
 
 FILES_${PN} += "${libdir}/perl5"
 
+HOSTPERL=${STAGING_BINDIR}/perl${PV}
+
 do_configure() {
+       ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl 
+       cp ${HOSTPERL} hostperl
        cd Cross
-       oe_runmake patch
+       rm Makefile.SH.patch
+       cp ${WORKDIR}/Makefile.SH.patch .
+       oe_runmake patch 
 }
 
 do_compile() {