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