View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/dev-lisp/sbcl/sbcl-0.9.11.ebuild (-5 / +18 lines)
 Lines 9-14    Link Here 
BV_SPARC=0.8.15
BV_SPARC=0.8.15
BV_MIPS=0.7.10
BV_MIPS=0.7.10
BV_AMD64=0.9.9
BV_AMD64=0.9.9
BV_PPC_MACOS=0.9.11a
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
HOMEPAGE="http://sbcl.sourceforge.net/"
HOMEPAGE="http://sbcl.sourceforge.net/"
 Lines 17-28    Link Here 
	ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
	ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
	sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
	sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
	mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz )
	mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz )
	amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )"
	amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
	ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )"
LICENSE="MIT"
LICENSE="MIT"
SLOT="0"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~mips ~amd64"
KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
IUSE="hardened ldb nosource threads nptl unicode"
IUSE="hardened ldb nosource threads nptl unicode"
 Lines 55-61    Link Here 
EOF
EOF
		die
		die
	fi
	fi
	if use ppc && use ldb; then
	if use ppc-macos && use ldb; then
		true
	elif use ppc && use ldb; then
		sbcl_einfo <<'EOF'
		sbcl_einfo <<'EOF'
Building SBCL on PPC with LDB support is not a supported configuration
Building SBCL on PPC with LDB support is not a supported configuration
in Gentoo. Please refer to Bug #121830 for more information.
in Gentoo. Please refer to Bug #121830 for more information.
 Lines 70-77    Link Here 
	mkdir -p ${MY_WORK}
	mkdir -p ${MY_WORK}
	cp ${FILESDIR}/${PV}/* ${MY_WORK}
	cp ${FILESDIR}/${PV}/* ${MY_WORK}
	sed -i "s,/usr/lib,/usr/$(get_libdir),g" ${MY_WORK}/*
	sed -i "s,/usr/lib,/usr/$(get_libdir),g" ${MY_WORK}/*
	
	# `use ppc` returns true for both ppc linux and ppc-macos systems
	# specify 
	if use ppc-macos ; then
		a="${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2"
	elif use ppc; then	
		a="${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2"
	else
		for a in ${A}; do [[ $a == *binary* ]] && break; done
	fi
	for a in ${A}; do [[ $a == *binary* ]] && break; done
	unpack $a
	unpack $a
	mv ${PN}* sbcl-binary || die
	mv ${PN}* sbcl-binary || die
 Lines 91-97    Link Here 
#	use x86 \
#	use x86 \
#		&& echo '(enable :sb-futex)' \
#		&& echo '(enable :sb-futex)' \
#		>>${S}/customize-target-features.lisp
#		>>${S}/customize-target-features.lisp
	echo '(disable :sb-test)' >>${S}/customize-target-features.lisp
#	echo '(disable :sb-test)' >>${S}/customize-target-features.lisp
	! use unicode \
	! use unicode \
		&& echo '(disable :sb-unicode)' \
		&& echo '(disable :sb-unicode)' \
		>>${S}/customize-target-features.lisp
		>>${S}/customize-target-features.lisp