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