diff options
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.14.2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb index ecb2262796..809fc72d33 100644 --- a/meta/recipes-devtools/perl/perl_5.14.2.bb +++ b/meta/recipes-devtools/perl/perl_5.14.2.bb | |||
@@ -174,8 +174,9 @@ do_configure() { | |||
174 | } | 174 | } |
175 | 175 | ||
176 | do_compile() { | 176 | do_compile() { |
177 | sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL | 177 | # Fix to avoid recursive substitution of path |
178 | sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' cpan/Compress-Raw-Zlib/config.in | 178 | sed -i -e "s|\([ \"\']\+\)/usr/include|\1${STAGING_INCDIR}|g" ext/Errno/Errno_pm.PL |
179 | sed -i -e "s|\([ \"\']\+\)/usr/include|\1${STAGING_INCDIR}|g" cpan/Compress-Raw-Zlib/config.in | ||
179 | sed -i -e 's|/usr/lib|""|g' cpan/Compress-Raw-Zlib/config.in | 180 | sed -i -e 's|/usr/lib|""|g' cpan/Compress-Raw-Zlib/config.in |
180 | sed -i -e 's|SYSROOTLIB|${STAGING_LIBDIR}|g' cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 181 | sed -i -e 's|SYSROOTLIB|${STAGING_LIBDIR}|g' cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm |
181 | 182 | ||