summaryrefslogtreecommitdiff
path: root/packages/perl/liblocale-gettext-perl_1.05.bb
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-04-27 02:06:22 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-04-27 02:06:22 +0000
commitbf3453c3ea3858a857d44c5cbc4f4a48069652da (patch)
tree24591813c9288312015cea30a7165dd760ece97a /packages/perl/liblocale-gettext-perl_1.05.bb
parentf90b1322d610a95421df8e17eb91f384fd2e057a (diff)
perl 5.8.8/cpan: Fix the installation paths for cpan modules. The installed
files for perl modules built using cpan will end up in different places depending on which version of perl they are being built with. Modules that explicitly set various FILES_ values were using the paths that are only valid for the older versions of perl. Calculate and set the correct path in cpan.bbclass and use that in the FILES_ variables so that it'll be correct for all versions of perl.
Diffstat (limited to 'packages/perl/liblocale-gettext-perl_1.05.bb')
-rw-r--r--packages/perl/liblocale-gettext-perl_1.05.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/perl/liblocale-gettext-perl_1.05.bb b/packages/perl/liblocale-gettext-perl_1.05.bb
index b4fe0b2f2c..177ad02e85 100644
--- a/packages/perl/liblocale-gettext-perl_1.05.bb
+++ b/packages/perl/liblocale-gettext-perl_1.05.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Locale::gettext - message handling functions"
SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS = "virtual/libintl"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-${PV}.tar.gz"
@@ -10,7 +10,7 @@ S = "${WORKDIR}/gettext-${PV}"
inherit cpan
-FILES_${PN} = "${libdir}/perl5/*/*/auto/Locale/gettext/* \
- ${libdir}/perl5/*/*/auto/Locale/gettext/.packlist \
- ${libdir}/perl5/*/*/Locale"
-FILES_${PN}-dbg += "${libdir}/perl5/*/*/auto/Locale/gettext/.debug"
+FILES_${PN} = "${PERLLIBDIRS}/auto/Locale/gettext/* \
+ ${PERLLIBDIRS}/auto/Locale/gettext/.packlist \
+ ${PERLLIBDIRS}/Locale"
+FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/Locale/gettext/.debug"