diff options
| author | Dexuan Cui <dexuan.cui@intel.com> | 2011-05-31 15:16:10 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 16:58:34 +0100 |
| commit | 38d0c607d8a15cce38e2fc0eec9072c20a94b8b5 (patch) | |
| tree | 144188d0f4827593488c0ed360b41d4df6766b35 | |
| parent | d1965badc7af21d4a54a07e292bb6d754c0d3c6f (diff) | |
| download | poky-38d0c607d8a15cce38e2fc0eec9072c20a94b8b5.tar.gz | |
perl: inherit perlnative
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.12.3.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-devtools/perl/perl_5.12.3.bb index 847ee59c30..b0534825b4 100644 --- a/meta/recipes-devtools/perl/perl_5.12.3.bb +++ b/meta/recipes-devtools/perl/perl_5.12.3.bb | |||
| @@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ | |||
| 6 | file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" | 6 | file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" |
| 7 | PRIORITY = "optional" | 7 | PRIORITY = "optional" |
| 8 | # We need gnugrep (for -I) | 8 | # We need gnugrep (for -I) |
| 9 | DEPENDS = "virtual/db perl-native-${PV} grep-native" | 9 | DEPENDS = "virtual/db grep-native" |
| 10 | DEPENDS += "gdbm zlib" | 10 | DEPENDS += "gdbm zlib" |
| 11 | PR = "r0" | 11 | PR = "r1" |
| 12 | 12 | ||
| 13 | # 5.10.1 has Module::Build built-in | 13 | # 5.10.1 has Module::Build built-in |
| 14 | PROVIDES += "libmodule-build-perl" | 14 | PROVIDES += "libmodule-build-perl" |
| @@ -81,13 +81,13 @@ SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \ | |||
| 81 | SRC_URI[md5sum] = "29975a69dce54e47fcd6331c085c6c99" | 81 | SRC_URI[md5sum] = "29975a69dce54e47fcd6331c085c6c99" |
| 82 | SRC_URI[sha256sum] = "5678bfd5c2cd59253a26171bf3e681235433b00c730eea8a8046e1b225c11d2f" | 82 | SRC_URI[sha256sum] = "5678bfd5c2cd59253a26171bf3e681235433b00c730eea8a8046e1b225c11d2f" |
| 83 | 83 | ||
| 84 | inherit siteinfo | 84 | inherit perlnative siteinfo |
| 85 | 85 | ||
| 86 | # Where to find the native perl | 86 | # Where to find the native perl |
| 87 | HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}" | 87 | HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl-native/perl${PV}" |
| 88 | 88 | ||
| 89 | # Where to find .so files - use the -native versions not those from the target build | 89 | # Where to find .so files - use the -native versions not those from the target build |
| 90 | export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl/${PV}/" | 90 | export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${PV}/" |
| 91 | 91 | ||
| 92 | # LDFLAGS for shared libraries | 92 | # LDFLAGS for shared libraries |
| 93 | export LDDLFLAGS = "${LDFLAGS} -shared" | 93 | export LDDLFLAGS = "${LDFLAGS} -shared" |
