diff options
-rw-r--r-- | perl/perl-5.8.3/Makefile.SH.patch | 0 | ||||
-rw-r--r-- | perl/perl-5.8.3/Makefile.patch | 0 | ||||
-rw-r--r-- | perl/perl-5.8.3/config.sh-arm-linux.patch | 0 | ||||
-rw-r--r-- | perl/perl_5.8.3.oe | 13 |
4 files changed, 11 insertions, 2 deletions
diff --git a/perl/perl-5.8.3/Makefile.SH.patch b/perl/perl-5.8.3/Makefile.SH.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/perl/perl-5.8.3/Makefile.SH.patch diff --git a/perl/perl-5.8.3/Makefile.patch b/perl/perl-5.8.3/Makefile.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/perl/perl-5.8.3/Makefile.patch 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 index 0000000000..e69de29bb2 --- /dev/null +++ b/perl/perl-5.8.3/config.sh-arm-linux.patch diff --git a/perl/perl_5.8.3.oe b/perl/perl_5.8.3.oe index 18e7fa15a5..cb5461e2ab 100644 --- a/perl/perl_5.8.3.oe +++ b/perl/perl_5.8.3.oe @@ -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() { |