perl: change 'cp' to 'ln' to fix perl build issues, thanks to Tom Rini for the suggestion
authorKoen Kooi <koen@openembedded.org>
Fri, 7 May 2010 15:11:31 +0000 (17:11 +0200)
committerKoen Kooi <koen@openembedded.org>
Fri, 7 May 2010 15:11:31 +0000 (17:11 +0200)
recipes/perl/perl_5.10.1.bb
recipes/perl/perl_5.8.8.bb

index b998afd..d206806 100644 (file)
@@ -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
index 3dae957..5717d00 100644 (file)
@@ -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