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