Patchwork [1/1] cpan.bbclass: fix native perl issue

login
register
mail settings
Submitter Saul Wold
Date Sept. 7, 2011, 5:09 a.m.
Message ID <ce89d4cce119831c52599e4edef125bc3c586348.1315371835.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/11127/
State New, archived
Headers show

Comments

Saul Wold - Sept. 7, 2011, 5:09 a.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/cpan.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index cb1c2f4..587e688 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -24,7 +24,8 @@  cpan_do_configure () {
 		for f in `find -name Makefile.PL`; do
 			f2=`echo $f | sed -e 's/.PL//'`
 			sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \
-			$f2
+				-e 's/perl.real/perl/' \
+				$f2
 		done
 	fi
 }