From cafb550fe9034754933f1708446dde155dcc3d51 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Sat, 27 Oct 2012 16:48:17 +0800 Subject: recipes-support: 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. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] Signed-off-by: Robert Yang Signed-off-by: Saul Wold --- meta/recipes-support/createrepo/createrepo_0.4.11.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-support/createrepo') diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb index 344cc77770..8d2dcdf958 100644 --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://createrepo.baseurl.org/" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" -RDEPENDS_${PN}_virtclass-native += "libxml2-native rpm-native" +RDEPENDS_${PN}_class-native += "libxml2-native rpm-native" PR = "r7" @@ -28,7 +28,7 @@ do_install () { # Wrap the python script since the native python is # ${bindir}/python-native/python, and the "#! /usr/bin/env python" can't # find it since it is not in PATH. -do_install_append_virtclass-native () { +do_install_append_class-native () { # Not all the python scripts should be wrapped since some of # them are modules (be imported). for i in ${D}${datadir}/createrepo/genpkgmetadata.py \ -- cgit 1.2.3-korg