summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-10-22 12:57:35 +0000
committerKoen Kooi <koen@openembedded.org>2006-10-22 12:57:35 +0000
commit1aa0895dbfcc33e9d5b8c6c3f5d866545a81aaf4 (patch)
treed5c8af2cb2a8a3467744b36b8ffd3a9ba47e5dc9 /packages
parent26c25574952fe199195edb34e7344dd99e948c6c (diff)
perl: fix issues with debug packages, from Poky
Diffstat (limited to 'packages')
-rw-r--r--packages/perl/perl.inc7
-rw-r--r--packages/perl/perl_5.8.4.bb2
-rw-r--r--packages/perl/perl_5.8.7.bb2
3 files changed, 8 insertions, 3 deletions
diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc
index 4cddcdb18a..4f607e1229 100644
--- a/packages/perl/perl.inc
+++ b/packages/perl/perl.inc
@@ -65,7 +65,7 @@ PACKAGES_DYNAMIC = "perl-module-*"
python populate_packages_prepend () {
libdir = bb.data.expand('${libdir}/perl5/${PV}', d)
archlibdir = bb.data.expand('${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}', d)
- do_split_packages(d, archlibdir, 'auto/(.*)/', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
+ do_split_packages(d, archlibdir, 'auto/(.*)(?!\.debug)/', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
do_split_packages(d, archlibdir, '(.*)\.(pm|pl)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
do_split_packages(d, libdir, '(.*)\.(pm|pl)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
}
@@ -76,3 +76,8 @@ FILES_${PN}-lib = "/usr/lib/libperl.so*"
FILES_${PN}-dev = "/usr/lib/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/"
FILES_${PN}-pod = "/usr/lib/perl5/${PV}/pod"
FILES_perl-misc = "/usr/bin/*"
+FILES_${PN}-dbg += " \
+ ${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/auto/*/.debug \
+ ${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/auto/*/*/.debug \
+ ${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/auto/*/*/*/.debug"
+
diff --git a/packages/perl/perl_5.8.4.bb b/packages/perl/perl_5.8.4.bb
index 35ff774b52..7509f1b66b 100644
--- a/packages/perl/perl_5.8.4.bb
+++ b/packages/perl/perl_5.8.4.bb
@@ -1,3 +1,3 @@
require perl.inc
-PR = "r4"
+PR = "r5"
diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb
index 05e1f1c3df..7c8cbaa5c2 100644
--- a/packages/perl/perl_5.8.7.bb
+++ b/packages/perl/perl_5.8.7.bb
@@ -21,7 +21,7 @@ SRC_URI_append_sh3 += "file://makefile-usegcc-to-link.patch;patch=1"
PARALLEL_MAKE = ""
-PR = "r20"
+PR = "r21"
do_configure() {
ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl