summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 17:55:17 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:26 +0000
commitf8e52056bebfbae475bb1064885fbc4629d39732 (patch)
tree057be79712004fd20dcdee0924fa4c5d4968c4d1 /meta
parent71b09b016ba9e7bfcea37f333823a33c96b3d640 (diff)
downloadopenembedded-core-f8e52056bebfbae475bb1064885fbc4629d39732.tar.gz
openembedded-core-f8e52056bebfbae475bb1064885fbc4629d39732.tar.bz2
openembedded-core-f8e52056bebfbae475bb1064885fbc4629d39732.zip
autoconf: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/autoconf/autoconf-native_2.61.bb8
-rw-r--r--meta/packages/autoconf/autoconf-native_2.63.bb8
-rw-r--r--meta/packages/autoconf/autoconf_2.61.bb7
-rw-r--r--meta/packages/autoconf/autoconf_2.63.bb9
4 files changed, 15 insertions, 17 deletions
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 1dea334425..0000000000
--- 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 1dea334425..0000000000
--- 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 33c1a9c775..3eb67d6729 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 03bcc18513..b7258fa25c 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"