Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 414473 | Differences between
and this patch

Collapse All | Expand All

(-)a/dev-lang/spidermonkey/spidermonkey-1.8.5-r2.ebuild (+21 lines)
Lines 70-75 src_configure() { Link Here
70
70
71
src_compile() {
71
src_compile() {
72
	cd "${BUILDDIR}"
72
	cd "${BUILDDIR}"
73
	if tc-is-cross-compiler; then
74
		make CFLAGS="" CXXFLAGS="" \
75
			CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
76
			jscpucfg host_jsoplengen host_jskwgen || die
77
		make CFLAGS="" CXXFLAGS="" \
78
			CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
79
			-C config nsinstall || die
80
		mv {,native-}jscpucfg
81
		mv {,native-}host_jskwgen
82
		mv {,native-}host_jsoplengen
83
		mv config/{,native-}nsinstall
84
		sed -e 's@./jscpucfg@./native-jscpucfg@' \
85
			-e 's@./host_jskwgen@./native-host_jskwgen@' \
86
			-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
87
			-i Makefile
88
		sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk
89
		rm config/host_nsinstall.o \
90
			config/host_pathsub.o \
91
			host_jskwgen.o \
92
			host_jsoplengen.o
93
	fi
73
	emake || die
94
	emake || die
74
}
95
}
75
96

Return to bug 414473