summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-10-27 16:48:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-02 16:15:30 +0000
commitbb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2 (patch)
treea5cd401b043e80311db7497dec8c791b873aab2e /meta/recipes-devtools/dpkg
parent528b4ab831c7b0bc1412318d29e2b7f9cf711d57 (diff)
downloadopenembedded-core-bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2.tar.gz
openembedded-core-bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2.tar.bz2
openembedded-core-bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2.zip
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc10
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 \
file://ignore_extra_fields.patch"
DEPENDS = "zlib bzip2 perl"
-DEPENDS_virtclass-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native-runtime"
+DEPENDS_class-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native-runtime"
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
-RDEPENDS_${PN}_virtclass-native = ""
+RDEPENDS_${PN}_class-native = ""
S = "${WORKDIR}/${BPN}-${PV}"
@@ -19,7 +19,7 @@ PARALLEL_MAKE = ""
inherit autotools gettext perlnative
export PERL_LIBDIR = "${libdir}/perl"
-PERL_LIBDIR_virtclass-native = "${libdir}/perl-native/perl"
+PERL_LIBDIR_class-native = "${libdir}/perl-native/perl"
EXTRA_OECONF = "--without-static-progs \
--without-dselect \
@@ -58,7 +58,7 @@ do_install_append () {
# Create a wrapper for the perl script to avoid the "bad interpreter"
# error when the tmpdir is longer than 150.
-do_install_append_virtclass-native () {
+do_install_append_class-native () {
tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;`
for i in $tmp; do
create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl
@@ -66,7 +66,7 @@ do_install_append_virtclass-native () {
}
PROV = "virtual/update-alternatives"
-PROV_virtclass-native = ""
+PROV_class-native = ""
PROVIDES += "${PROV}"