summaryrefslogtreecommitdiff
path: root/meta/classes/cpan.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r--meta/classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 957a6e2bfa..bef9e82685 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -26,7 +26,7 @@ cpan_do_configure () {
test -f $f2 || continue
sed -i -e "s:\(PERL_ARCHLIB = \).*:\1${PERL_ARCHLIB}:" \
-e 's/perl.real/perl/' \
- -e "s/^\(CCFLAGS =.*\)/\1 ${CFLAGS}/" \
+ -e "s|^\(CCFLAGS =.*\)|\1 ${CFLAGS}|" \
$f2
done
fi