summaryrefslogtreecommitdiff
path: root/packages/perl/libextutils-parsexs-perl-native_2.16.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/libextutils-parsexs-perl-native_2.16.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/libextutils-parsexs-perl-native_2.16.bb')
-rw-r--r--packages/perl/libextutils-parsexs-perl-native_2.16.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/perl/libextutils-parsexs-perl-native_2.16.bb b/packages/perl/libextutils-parsexs-perl-native_2.16.bb
index 9176c524f0..cf7847d783 100644
--- a/packages/perl/libextutils-parsexs-perl-native_2.16.bb
+++ b/packages/perl/libextutils-parsexs-perl-native_2.16.bb
@@ -2,6 +2,4 @@ SECTION = "libs"
inherit native
-EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'"
-
-require libextutils-parsexs-perl_${PV}.bb
+require ${@bb.data.getVar('P', d , 1).replace('-native-', '_')}.bb