[oe-commits] org.oe.dev perl 5.8.8: Replace host paths from the configuration file that is to be

lenehan commit openembedded-commits at lists.openembedded.org
Tue Apr 24 14:06:10 UTC 2007


perl 5.8.8: Replace host paths from the configuration file that is to be
installed on the target with those that are suitable for the target. This
has no effect on actually using perl but would have an effect on trying to
build perl modules on the target.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: e53757cb65ffa30a2c0c40ff1221b8a653260528
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e53757cb65ffa30a2c0c40ff1221b8a653260528
Files:
1
packages/perl/perl_5.8.8.bb
Diffs:

#
# mt diff -rfc9198bbb22a0b714d78b23a15c70c039855cb01 -re53757cb65ffa30a2c0c40ff1221b8a653260528
#
# 
# 
# patch "packages/perl/perl_5.8.8.bb"
#  from [799c2fa56566a7c2a6768c3e3333aeb1ed7d2276]
#    to [d37a8b028bb6e6af72745329e869b889127dc976]
# 
============================================================
--- packages/perl/perl_5.8.8.bb	799c2fa56566a7c2a6768c3e3333aeb1ed7d2276
+++ packages/perl/perl_5.8.8.bb	d37a8b028bb6e6af72745329e869b889127dc976
@@ -5,7 +5,7 @@ DEPENDS = "virtual/db perl-native grep-n
 PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native grep-native"
-PR = "r2"
+PR = "r3"
 
 # Major part of version
 PVM = "5.8"
@@ -109,7 +109,11 @@ do_install() {
 
         # Fix up installed configuration
         if test "${MACHINE}" != "native"; then
-            sed -i -e "s,${D},,g" ${D}/${libdir}/perl/${PV}/Config_heavy.pl
+            sed -i -e "s,${D},,g" \
+                   -e "s,-isystem${STAGING_INCDIR} ,,g" \
+                   -e "s,${STAGING_LIBDIR},${libdir},g" \
+                   -e "s,${STAGING_INCDIR},${includedir},g" \
+                ${D}/${libdir}/perl/${PV}/Config_heavy.pl
         fi
 }
 do_stage() {






More information about the Openembedded-commits mailing list