diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:29 +0000 |
commit | aea2d8c02c7abd7ecbabae8b3932ceb7a01cb20d (patch) | |
tree | 11e419c0fceecd67e09f98feafc0adb7e1015b6a /meta/recipes-devtools/dpkg | |
parent | d005b787dfe2c9bcaefe41836f9b1c3008105171 (diff) | |
download | poky-aea2d8c02c7abd7ecbabae8b3932ceb7a01cb20d.tar.gz |
recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
[YOCTO #3297]
(From OE-Core rev: bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 723d1b2e78..27f69eff4d 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -8,9 +8,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \ | |||
8 | file://ignore_extra_fields.patch" | 8 | file://ignore_extra_fields.patch" |
9 | 9 | ||
10 | DEPENDS = "zlib bzip2 perl" | 10 | DEPENDS = "zlib bzip2 perl" |
11 | DEPENDS_virtclass-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native-runtime" | 11 | DEPENDS_class-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native-runtime" |
12 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" | 12 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" |
13 | RDEPENDS_${PN}_virtclass-native = "" | 13 | RDEPENDS_${PN}_class-native = "" |
14 | 14 | ||
15 | S = "${WORKDIR}/${BPN}-${PV}" | 15 | S = "${WORKDIR}/${BPN}-${PV}" |
16 | 16 | ||
@@ -19,7 +19,7 @@ PARALLEL_MAKE = "" | |||
19 | inherit autotools gettext perlnative | 19 | inherit autotools gettext perlnative |
20 | 20 | ||
21 | export PERL_LIBDIR = "${libdir}/perl" | 21 | export PERL_LIBDIR = "${libdir}/perl" |
22 | PERL_LIBDIR_virtclass-native = "${libdir}/perl-native/perl" | 22 | PERL_LIBDIR_class-native = "${libdir}/perl-native/perl" |
23 | 23 | ||
24 | EXTRA_OECONF = "--without-static-progs \ | 24 | EXTRA_OECONF = "--without-static-progs \ |
25 | --without-dselect \ | 25 | --without-dselect \ |
@@ -58,7 +58,7 @@ do_install_append () { | |||
58 | 58 | ||
59 | # Create a wrapper for the perl script to avoid the "bad interpreter" | 59 | # Create a wrapper for the perl script to avoid the "bad interpreter" |
60 | # error when the tmpdir is longer than 150. | 60 | # error when the tmpdir is longer than 150. |
61 | do_install_append_virtclass-native () { | 61 | do_install_append_class-native () { |
62 | tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;` | 62 | tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;` |
63 | for i in $tmp; do | 63 | for i in $tmp; do |
64 | create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl | 64 | create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl |
@@ -66,7 +66,7 @@ do_install_append_virtclass-native () { | |||
66 | } | 66 | } |
67 | 67 | ||
68 | PROV = "virtual/update-alternatives" | 68 | PROV = "virtual/update-alternatives" |
69 | PROV_virtclass-native = "" | 69 | PROV_class-native = "" |
70 | 70 | ||
71 | PROVIDES += "${PROV}" | 71 | PROVIDES += "${PROV}" |
72 | 72 | ||