aboutsummaryrefslogtreecommitdiffstats
path: root/packages/perl/libipc-sharelite-perl-native_0.09.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/libipc-sharelite-perl-native_0.09.bb
parent5a6392c25d372d69e7ce0cac04e7f0e2a936b462 (diff)
downloadopenembedded-476fbe6bc88b376e6c6942938efa003248c93424.tar.gz
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/libipc-sharelite-perl-native_0.09.bb')
-rw-r--r--packages/perl/libipc-sharelite-perl-native_0.09.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/perl/libipc-sharelite-perl-native_0.09.bb b/packages/perl/libipc-sharelite-perl-native_0.09.bb
index 5749e620bf..cf7847d783 100644
--- a/packages/perl/libipc-sharelite-perl-native_0.09.bb
+++ b/packages/perl/libipc-sharelite-perl-native_0.09.bb
@@ -2,6 +2,4 @@ SECTION = "libs"
inherit native
-EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'"
-
-require libipc-sharelite-perl_${PV}.bb
+require ${@bb.data.getVar('P', d , 1).replace('-native-', '_')}.bb