summaryrefslogtreecommitdiff
path: root/packages/perl/liblocale-gettext-perl-native_1.05.bb
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-10-04 00:39:26 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-10-04 00:39:26 +0000
commit476fbe6bc88b376e6c6942938efa003248c93424 (patch)
tree32b6474244fc0665cb6ede828beb746856b3567d /packages/perl/liblocale-gettext-perl-native_1.05.bb
parent5a6392c25d372d69e7ce0cac04e7f0e2a936b462 (diff)
perl: For native perl module packages determine the actual non-native
package name to require from the name of the native package. This makes all native files identical which makes adding new ones easier.
Diffstat (limited to 'packages/perl/liblocale-gettext-perl-native_1.05.bb')
-rw-r--r--packages/perl/liblocale-gettext-perl-native_1.05.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/perl/liblocale-gettext-perl-native_1.05.bb b/packages/perl/liblocale-gettext-perl-native_1.05.bb
index 14561664d3..cf7847d783 100644
--- a/packages/perl/liblocale-gettext-perl-native_1.05.bb
+++ b/packages/perl/liblocale-gettext-perl-native_1.05.bb
@@ -2,6 +2,4 @@ SECTION = "libs"
inherit native
-EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'"
-
-require liblocale-gettext-perl_${PV}.bb
+require ${@bb.data.getVar('P', d , 1).replace('-native-', '_')}.bb