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

(-)a/dev-lisp/sbcl/sbcl-2.0.10.ebuild (-2 / +11 lines)
Lines 40-46 SLOT="0/${PV}" Link Here
40
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
40
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
41
IUSE="debug doc source +threads +unicode pax_kernel zlib"
41
IUSE="debug doc source +threads +unicode pax_kernel zlib"
42
42
43
CDEPEND=">=dev-lisp/asdf-3.3:="
43
CDEPEND=">=dev-lisp/asdf-3.3:=
44
		elibc_musl? ( >=dev-lisp/ecls-20.4.24 )"
44
DEPEND="${CDEPEND}
45
DEPEND="${CDEPEND}
45
		doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
46
		doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
46
		pax_kernel? ( sys-apps/elfix )"
47
		pax_kernel? ( sys-apps/elfix )"
Lines 162-174 src_compile() { Link Here
162
			"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
163
			"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
163
	fi
164
	fi
164
165
166
	# Use ecl to bootstrap instead of the binary, if using musl.
167
	# ecl needs to be built and installed first.
168
	if use elibc_musl ; then
169
		local bootstrap_sbcl="ecl"
170
	else
171
		local bootstrap_sbcl="sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger"
172
	fi
173
165
	# clear the environment to get rid of non-ASCII strings, see bug #174702
174
	# clear the environment to get rid of non-ASCII strings, see bug #174702
166
	# set HOME for paludis
175
	# set HOME for paludis
167
	env - HOME="${T}" PATH="${PATH}" \
176
	env - HOME="${T}" PATH="${PATH}" \
168
		CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
177
		CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
169
		CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
178
		CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
170
		GNUMAKE=make ./make.sh \
179
		GNUMAKE=make ./make.sh \
171
		"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
180
		"${bootstrap_sbcl}" \
172
		|| die "make failed"
181
		|| die "make failed"
173
182
174
	# need to set HOME because libpango(used by graphviz) complains about it
183
	# need to set HOME because libpango(used by graphviz) complains about it

Return to bug 712626