From f8e52056bebfbae475bb1064885fbc4629d39732 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 5 Nov 2009 17:55:17 +0000 Subject: autoconf: Convert to BBCLASSEXTEND Signed-off-by: Richard Purdie --- meta/packages/autoconf/autoconf-native_2.61.bb | 8 -------- meta/packages/autoconf/autoconf-native_2.63.bb | 8 -------- meta/packages/autoconf/autoconf_2.61.bb | 7 +++++++ meta/packages/autoconf/autoconf_2.63.bb | 9 ++++++++- 4 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 meta/packages/autoconf/autoconf-native_2.61.bb delete mode 100644 meta/packages/autoconf/autoconf-native_2.63.bb (limited to 'meta') diff --git a/meta/packages/autoconf/autoconf-native_2.61.bb b/meta/packages/autoconf/autoconf-native_2.61.bb deleted file mode 100644 index 1dea33442..000000000 --- a/meta/packages/autoconf/autoconf-native_2.61.bb +++ /dev/null @@ -1,8 +0,0 @@ -require autoconf_${PV}.bb - -DEPENDS = "m4-native gnu-config-native" -RDEPENDS_${PN} = "m4-native gnu-config-native" - -SRC_URI += "file://fix_path_xtra.patch;patch=1" - -inherit native diff --git a/meta/packages/autoconf/autoconf-native_2.63.bb b/meta/packages/autoconf/autoconf-native_2.63.bb deleted file mode 100644 index 1dea33442..000000000 --- a/meta/packages/autoconf/autoconf-native_2.63.bb +++ /dev/null @@ -1,8 +0,0 @@ -require autoconf_${PV}.bb - -DEPENDS = "m4-native gnu-config-native" -RDEPENDS_${PN} = "m4-native gnu-config-native" - -SRC_URI += "file://fix_path_xtra.patch;patch=1" - -inherit native diff --git a/meta/packages/autoconf/autoconf_2.61.bb b/meta/packages/autoconf/autoconf_2.61.bb index 33c1a9c77..3eb67d672 100644 --- a/meta/packages/autoconf/autoconf_2.61.bb +++ b/meta/packages/autoconf/autoconf_2.61.bb @@ -16,3 +16,10 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \ file://autoheader-nonfatal-warnings.patch;patch=1 \ file://config-site.patch;patch=1 \ ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}" + +DEPENDS_virtclass-native = "m4-native gnu-config-native" +RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" + +SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch;patch=1" + +BBCLASSEXTEND = "native" diff --git a/meta/packages/autoconf/autoconf_2.63.bb b/meta/packages/autoconf/autoconf_2.63.bb index 03bcc1851..b7258fa25 100644 --- a/meta/packages/autoconf/autoconf_2.63.bb +++ b/meta/packages/autoconf/autoconf_2.63.bb @@ -14,4 +14,11 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \ file://autoheader-nonfatal-warnings.patch;patch=1 \ ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}" -DEFAULT_PREFERENCE = "-1" \ No newline at end of file +DEFAULT_PREFERENCE = "-1" + +DEPENDS_virtclass-native = "m4-native gnu-config-native" +RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" + +SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch;patch=1" + +BBCLASSEXTEND = "native" -- cgit v1.2.3