From: Koen Kooi Date: Fri, 7 May 2010 15:11:31 +0000 (+0200) Subject: perl: change 'cp' to 'ln' to fix perl build issues, thanks to Tom Rini for the suggestion X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe4ff6940b06c73d5b88224b99750bf65accf13d;p=openembedded.git perl: change 'cp' to 'ln' to fix perl build issues, thanks to Tom Rini for the suggestion --- diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb index b998afde37..d2068063b4 100644 --- a/recipes/perl/perl_5.10.1.bb +++ b/recipes/perl/perl_5.10.1.bb @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL" PRIORITY = "optional" # We need gnugrep (for -I) DEPENDS = "virtual/db perl-native grep-native" -PR = "r2" +PR = "r4" # Not tested enough DEFAULT_PREFERENCE = "-1" @@ -49,7 +49,7 @@ CFLAGS += "-DDEBIAN" do_configure() { # Make hostperl in build directory be the native perl - cp -f ${HOSTPERL} hostperl + ln -sf ${HOSTPERL} hostperl # Do out work in the cross subdir cd Cross diff --git a/recipes/perl/perl_5.8.8.bb b/recipes/perl/perl_5.8.8.bb index 3dae957e1a..5717d009f3 100644 --- a/recipes/perl/perl_5.8.8.bb +++ b/recipes/perl/perl_5.8.8.bb @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL" PRIORITY = "optional" # We need gnugrep (for -I) DEPENDS = "virtual/db perl-native grep-native" -PR = "r32" +PR = "r34" # Major part of version PVM = "5.8" @@ -54,7 +54,7 @@ export LDDLFLAGS = "${LDFLAGS} -shared" do_configure() { # Make hostperl in build directory be the native perl - cp -f ${HOSTPERL} hostperl + ln -sf ${HOSTPERL} hostperl # Do out work in the cross subdir cd Cross