]> git.openpandora.org Git - openembedded.git/commitdiff
gtk-webcore: make newer versions only compile with GCC4 by default
authorJustin Patrin <papercrane@gmail.com>
Thu, 16 Feb 2006 08:35:02 +0000 (08:35 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 16 Feb 2006 08:35:02 +0000 (08:35 +0000)
packages/gtk-webcore/osb-browser_20060212.bb
packages/gtk-webcore/osb-jscore_20060212.bb
packages/gtk-webcore/osb-nrcit_20060212.bb
packages/gtk-webcore/osb-nrcore_20060212.bb

index 0ca40c9daacd8936aaf8b7c5e8ea44cf0d8f8d9c..d45319cb8a61a1ab9b9eeaed627ee9cca8e0c4a7 100644 (file)
@@ -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
index 2c96450d52ec150509c79bcb2f82d87bc8d3681d..d8e3a9b8f804e1aad5d01dfc4340a60996cb927d 100644 (file)
@@ -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
index 8e1259a916a1f8592a913bd849119192035008d2..7530bb571918febea860d2fbb72fbe42facc5647 100644 (file)
@@ -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 () {
index f730b0df879c7f36daec09488636f0a48387b285..4ab42750717cc65662dcc898e6d6b23b99aa6b6b 100644 (file)
@@ -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