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/libcompress-zlib-perl-native_1.42.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages/perl/libcompress-zlib-perl-native_1.42.bb') diff --git a/packages/perl/libcompress-zlib-perl-native_1.42.bb b/packages/perl/libcompress-zlib-perl-native_1.42.bb index 002404a4e7..cf7847d783 100644 --- a/packages/perl/libcompress-zlib-perl-native_1.42.bb +++ b/packages/perl/libcompress-zlib-perl-native_1.42.bb @@ -2,6 +2,4 @@ SECTION = "libs" inherit native -EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'" - -require libcompress-zlib-perl_${PV}.bb +require ${@bb.data.getVar('P', d , 1).replace('-native-', '_')}.bb -- cgit v1.2.3