From 476fbe6bc88b376e6c6942938efa003248c93424 Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Wed, 4 Oct 2006 00:39:26 +0000 Subject: 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. --- packages/perl/libdigest-sha1-perl-native_2.11.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages/perl/libdigest-sha1-perl-native_2.11.bb') 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 -- cgit v1.2.3