Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 296742
Collapse All | Expand All

(-)eclipse-sdk-3.5.1.ebuild (-1 / +15 lines)
Lines 10-16 Link Here
10
# and push them upstream
10
# and push them upstream
11
JAVA_PKG_BSFIX="off"
11
JAVA_PKG_BSFIX="off"
12
12
13
inherit java-pkg-2 java-ant-2 check-reqs
13
inherit java-pkg-2 java-ant-2 check-reqs toolchain-funcs
14
14
15
BUILD_ID="R3_5_1"
15
BUILD_ID="R3_5_1"
16
ECLIPSE_BUILD_VER="R0_4_0"
16
ECLIPSE_BUILD_VER="R0_4_0"
Lines 98-103 Link Here
98
	sed -e 's|/usr/lib/jvm/java/jre/lib/rt\.jar:.*$|'"$(java-config --runtime)"'|' \
98
	sed -e 's|/usr/lib/jvm/java/jre/lib/rt\.jar:.*$|'"$(java-config --runtime)"'|' \
99
			-i {,pde}build.properties || die
99
			-i {,pde}build.properties || die
100
100
101
	# fix up hardcoded gcc
102
	sed -i -e "s:gcc:$(tc-getCC):" \
103
		"${buildDir}"/features/org.eclipse.equinox.executable/library/motif/make_linux.mak \
104
		"${buildDir}"/features/org.eclipse.equinox.executable/library/gtk/make_linux.mak \
105
		"${buildDir}"/features/org.eclipse.equinox.executable/.cproject \
106
		"${buildDir}"/features/org.eclipse.equinox.executable/.cdtproject \
107
		"${buildDir}"/plugins/org.eclipse.update.core.linux/src/build.xml \
108
		"${buildDir}"/plugins/org.eclipse.swt/Eclipse\ SWT\ PI/motif/library/make_linux.mak \
109
		"${buildDir}"/plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library/build.sh \
110
		"${buildDir}"/plugins/org.eclipse.equinox.launcher/.cproject \
111
		"${buildDir}"/plugins/org.eclipse.equinox.launcher/.cdtproject \
112
		"${buildDir}"/plugins/org.eclipse.core.net/natives/unix/linux/makefile \
113
		"${buildDir}"/plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile || die
114
101
	# fix up arch specifications if we're x86_64
115
	# fix up arch specifications if we're x86_64
102
	if use amd64 ; then
116
	if use amd64 ; then
103
		sed -e 's/x86/\0_64/' -i "${buildDir}"/buildConfigs/eclipse-build-config/build.properties || die
117
		sed -e 's/x86/\0_64/' -i "${buildDir}"/buildConfigs/eclipse-build-config/build.properties || die

Return to bug 296742