--- eclipse-sdk/eclipse-sdk-3.5.1.ebuild 2009-11-13 22:46:26.000000000 +0100 +++ eclipse-sdk/eclipse-sdk-3.5.1.ebuild @@ -18,7 +18,7 @@ LICENSE="EPL-1.0" SLOT="3.5" KEYWORDS="~amd64 ~x86" -IUSE="doc source" +IUSE="doc source gnome" CDEPEND=">=dev-java/swt-${PV}:${SLOT} >=dev-java/ant-1.7.1 @@ -37,7 +37,8 @@ >=dev-java/lucene-analyzers-1.9.1:1.9 >=dev-java/sat4j-core-2.1:2 >=dev-java/sat4j-pseudo-2.1:2 - dev-java/tomcat-servlet-api:2.5" + dev-java/tomcat-servlet-api:2.5 + gnome? ( gnome-base/gconf )" RDEPEND="${CDEPEND} >=virtual/jre-1.5" DEPEND="${CDEPEND} @@ -77,6 +78,11 @@ } src_prepare() { + # Remove entries with respect to libgnomeproxy from build.xml if desired. + if use x86 && ! use gnome ; then + epatch "${FILESDIR}/${SLOT}/build.xml.patch" || die + fi + # apply patches before we start cleaning junk out ant applyPatches || die 'ant applyPatches failed'