summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-16 09:24:05 +0000
committerChris Larson <clarson@kergoth.com>2004-11-16 09:24:05 +0000
commitede60a4a1a0357f304640ea30d9f511e0e7cf8a1 (patch)
tree36790646522de5675b1f9b0e7d57b839a3301618
parent654abaacc8e90f051c9aff1851f8cdc92fd959b6 (diff)
Make the glib-2.0 builds skip themselves if USE_NLS is no, since they arent buildable without native language support.
BKrev: 4199c735pHUS602hqVoHCxXQo_i_yQ
-rw-r--r--glib-2.0/glib-2.0_2.2.3.oe5
-rw-r--r--glib-2.0/glib-2.0_2.4.1.oe5
-rw-r--r--glib-2.0/glib-2.0_2.4.4.oe5
-rw-r--r--glib-2.0/glib-2.0_2.4.5.oe5
-rw-r--r--glib-2.0/glib-2.0_2.4.6.oe5
5 files changed, 25 insertions, 0 deletions
diff --git a/glib-2.0/glib-2.0_2.2.3.oe b/glib-2.0/glib-2.0_2.2.3.oe
index dc1bd110cf..dbc9bb9669 100644
--- a/glib-2.0/glib-2.0_2.2.3.oe
+++ b/glib-2.0/glib-2.0_2.2.3.oe
@@ -17,6 +17,11 @@ S = "${WORKDIR}/glib-${PV}"
inherit autotools pkgconfig gettext
+python () {
+ if oe.data.getVar("USE_NLS", d, 1) == "no":
+ raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
acpaths = ""
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
diff --git a/glib-2.0/glib-2.0_2.4.1.oe b/glib-2.0/glib-2.0_2.4.1.oe
index 6e68ee4379..cee350f234 100644
--- a/glib-2.0/glib-2.0_2.4.1.oe
+++ b/glib-2.0/glib-2.0_2.4.1.oe
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
inherit autotools pkgconfig gettext
+python () {
+ if oe.data.getVar("USE_NLS", d, 1) == "no":
+ raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
acpaths = ""
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
diff --git a/glib-2.0/glib-2.0_2.4.4.oe b/glib-2.0/glib-2.0_2.4.4.oe
index 6e68ee4379..cee350f234 100644
--- a/glib-2.0/glib-2.0_2.4.4.oe
+++ b/glib-2.0/glib-2.0_2.4.4.oe
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
inherit autotools pkgconfig gettext
+python () {
+ if oe.data.getVar("USE_NLS", d, 1) == "no":
+ raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
acpaths = ""
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
diff --git a/glib-2.0/glib-2.0_2.4.5.oe b/glib-2.0/glib-2.0_2.4.5.oe
index 6e68ee4379..cee350f234 100644
--- a/glib-2.0/glib-2.0_2.4.5.oe
+++ b/glib-2.0/glib-2.0_2.4.5.oe
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
inherit autotools pkgconfig gettext
+python () {
+ if oe.data.getVar("USE_NLS", d, 1) == "no":
+ raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
acpaths = ""
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
diff --git a/glib-2.0/glib-2.0_2.4.6.oe b/glib-2.0/glib-2.0_2.4.6.oe
index cf56a6cbbe..eb668e9c84 100644
--- a/glib-2.0/glib-2.0_2.4.6.oe
+++ b/glib-2.0/glib-2.0_2.4.6.oe
@@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}"
inherit autotools pkgconfig gettext
+python () {
+ if oe.data.getVar("USE_NLS", d, 1) == "no":
+ raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
acpaths = ""
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .