diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-10-04 00:39:26 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-10-04 00:39:26 +0000 |
commit | 476fbe6bc88b376e6c6942938efa003248c93424 (patch) | |
tree | 32b6474244fc0665cb6ede828beb746856b3567d /packages/perl/libyaml-perl-native_0.62.bb | |
parent | 5a6392c25d372d69e7ce0cac04e7f0e2a936b462 (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/libyaml-perl-native_0.62.bb')
-rw-r--r-- | packages/perl/libyaml-perl-native_0.62.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/perl/libyaml-perl-native_0.62.bb b/packages/perl/libyaml-perl-native_0.62.bb index 365e6084a7..cf7847d783 100644 --- a/packages/perl/libyaml-perl-native_0.62.bb +++ b/packages/perl/libyaml-perl-native_0.62.bb @@ -2,6 +2,4 @@ SECTION = "libs" inherit native -EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'" - -require libyaml-perl_${PV}.bb +require ${@bb.data.getVar('P', d , 1).replace('-native-', '_')}.bb |