summaryrefslogtreecommitdiff
path: root/packages/gtk-webcore
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2006-02-16 08:35:02 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-16 08:35:02 +0000
commit4be122887a8010d8d81d90d8f3c5d34af10af5f6 (patch)
tree02fffbab0b0d01f484b7dd30801b2585faaa4524 /packages/gtk-webcore
parent692e603a21a591fb73452e884bbfdb32f4028401 (diff)
gtk-webcore: make newer versions only compile with GCC4 by default
Diffstat (limited to 'packages/gtk-webcore')
-rw-r--r--packages/gtk-webcore/osb-browser_20060212.bb2
-rw-r--r--packages/gtk-webcore/osb-jscore_20060212.bb2
-rw-r--r--packages/gtk-webcore/osb-nrcit_20060212.bb2
-rw-r--r--packages/gtk-webcore/osb-nrcore_20060212.bb2
4 files changed, 8 insertions, 0 deletions
diff --git a/packages/gtk-webcore/osb-browser_20060212.bb b/packages/gtk-webcore/osb-browser_20060212.bb
index 0ca40c9daa..d45319cb8a 100644
--- a/packages/gtk-webcore/osb-browser_20060212.bb
+++ b/packages/gtk-webcore/osb-browser_20060212.bb
@@ -16,4 +16,6 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/gtk-webcore;module=osb-br
file://no-pedantic.patch;patch=1"
S = "${WORKDIR}/osb-browser"
+DEFAULT_PREFERENCE = "${@['-1', '1'][bb.data.getVar('PREFERRED_VERSION_gcc-cross', d, 1).split('.')[0] == '4']}"
+
inherit autotools
diff --git a/packages/gtk-webcore/osb-jscore_20060212.bb b/packages/gtk-webcore/osb-jscore_20060212.bb
index 2c96450d52..d8e3a9b8f8 100644
--- a/packages/gtk-webcore/osb-jscore_20060212.bb
+++ b/packages/gtk-webcore/osb-jscore_20060212.bb
@@ -13,6 +13,8 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/gtk-webcore;module=JavaSc
file://gcc4-fno-threadsafe-statics-JavaScriptCore.patch;patch=1"
S = "${WORKDIR}/JavaScriptCore"
+DEFAULT_PREFERENCE = "${@['-1', '1'][bb.data.getVar('PREFERRED_VERSION_gcc-cross', d, 1).split('.')[0] == '4']}"
+
inherit autotools pkgconfig
# zap CPPFLAGS to avoid trouble with internal vs. pcre from staging
diff --git a/packages/gtk-webcore/osb-nrcit_20060212.bb b/packages/gtk-webcore/osb-nrcit_20060212.bb
index 8e1259a916..7530bb5719 100644
--- a/packages/gtk-webcore/osb-nrcit_20060212.bb
+++ b/packages/gtk-webcore/osb-nrcit_20060212.bb
@@ -16,6 +16,8 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/gtk-webcore;module=NRCit;
file://gcc4-fno-threadsafe-statics-NRCit.patch;patch=1"
S = "${WORKDIR}/NRCit"
+DEFAULT_PREFERENCE = "${@['-1', '1'][bb.data.getVar('PREFERRED_VERSION_gcc-cross', d, 1).split('.')[0] == '4']}"
+
inherit autotools pkgconfig
do_configure () {
diff --git a/packages/gtk-webcore/osb-nrcore_20060212.bb b/packages/gtk-webcore/osb-nrcore_20060212.bb
index f730b0df87..4ab4275071 100644
--- a/packages/gtk-webcore/osb-nrcore_20060212.bb
+++ b/packages/gtk-webcore/osb-nrcore_20060212.bb
@@ -16,6 +16,8 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/gtk-webcore;module=NRCore
file://gcc4-fno-threadsafe-statics-NRCore.patch;patch=1"
S = "${WORKDIR}/NRCore"
+DEFAULT_PREFERENCE = "${@['-1', '1'][bb.data.getVar('PREFERRED_VERSION_gcc-cross', d, 1).split('.')[0] == '4']}"
+
LEAD_SONAME = "libnrcore.so"
inherit autotools pkgconfig