[oe-commits] org.oe.dev perl 5.8.8: A few host paths were being included in the perl for the target.

lenehan commit openembedded-commits at lists.openembedded.org
Fri Jul 6 04:41:34 UTC 2007


perl 5.8.8: A few host paths were being included in the perl for the target.
Update the sed magic to catch the files that were being missed. Closes #2575.

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

#
# mt diff -rf73312a7f2042cd2d85e7ee1a7d90847bd73e2e2 -r0daf2d0bb9de41fe64922b7a825b5de36229d3f2
#
# 
# 
# patch "packages/perl/perl_5.8.8.bb"
#  from [518122a5334d6a5c08752f625bba68be022d6dbb]
#    to [c97084e319193690d0222303aa7f475971c1dff9]
# 
============================================================
--- packages/perl/perl_5.8.8.bb	518122a5334d6a5c08752f625bba68be022d6dbb
+++ packages/perl/perl_5.8.8.bb	c97084e319193690d0222303aa7f475971c1dff9
@@ -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 = "r24"
+PR = "r25"
 
 # Major part of version
 PVM = "5.8"
@@ -122,8 +122,18 @@ do_install() {
             sed -i -e "s,${D},,g" \
                    -e "s,-isystem${STAGING_INCDIR} ,,g" \
                    -e "s,${STAGING_LIBDIR},${libdir},g" \
+                   -e "s,${STAGING_BINDIR},${bindir},g" \
                    -e "s,${STAGING_INCDIR},${includedir},g" \
-                ${D}/${libdir}/perl/${PV}/Config_heavy.pl
+                   -e "s,${CROSS_DIR}${base_bindir}/,,g" \
+                ${D}${bindir}/h2xs \
+                ${D}${bindir}/h2ph \
+                ${D}${datadir}/perl/${PV}/pod/*.pod \
+                ${D}${datadir}/perl/${PV}/cacheout.pl \
+                ${D}${datadir}/perl/${PV}/FileCache.pm \
+                ${D}${libdir}/perl/${PV}/Config.pm \
+                ${D}${libdir}/perl/${PV}/Config_heavy.pl \
+                ${D}${libdir}/perl/${PV}/CORE/perl.h \
+                ${D}${libdir}/perl/${PV}/CORE/pp.h
         fi
 }
 do_stage() {






More information about the Openembedded-commits mailing list