[oe-commits] Koen Kooi : perl: change 'cp' to 'ln' to fix perl build issues, thanks to Tom Rini for the suggestion

git version control git at git.openembedded.org
Fri May 7 15:12:15 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: fe4ff6940b06c73d5b88224b99750bf65accf13d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fe4ff6940b06c73d5b88224b99750bf65accf13d

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri May  7 17:11:31 2010 +0200

perl: change 'cp' to 'ln' to fix perl build issues, thanks to Tom Rini for the suggestion

---

 recipes/perl/perl_5.10.1.bb |    4 ++--
 recipes/perl/perl_5.8.8.bb  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
index b998afd..d206806 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 3dae957..5717d00 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





More information about the Openembedded-commits mailing list