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

(-)/usr/portage/media-sound/sexypsf/sexypsf-0.4.7.ebuild (-4 / +3 lines)
Lines 28-41 Link Here
28
}
28
}
29
29
30
src_compile() {
30
src_compile() {
31
	cd "${S}"/Linux
32
33
	# ppc and sparc are big-endian while all other keywords are
31
	# ppc and sparc are big-endian while all other keywords are
34
	# little-endian (as far as I know)
32
	# little-endian (as far as I know)
35
	use ppc64 || use ppc || use sparc && CPU="MSBFIRST" || CPU="LSBFIRST"
33
	use ppc64 || use ppc || use sparc && CPU="MSBFIRST" || CPU="LSBFIRST"
36
34
37
	emake CPU="${CPU}" || die "emake failed"
38
39
	if use bmp || use xmms; then
35
	if use bmp || use xmms; then
40
		if ! use xmms; then
36
		if ! use xmms; then
41
			local XMMSCONF=beep-config
37
			local XMMSCONF=beep-config
Lines 48-53 Link Here
48
		# do make clean to force rebuild with -fPIC
44
		# do make clean to force rebuild with -fPIC
49
		emake CPU="${CPU}" XMMSCONF="${XMMSCONF}" clean sexypsf || die "emake failed"
45
		emake CPU="${CPU}" XMMSCONF="${XMMSCONF}" clean sexypsf || die "emake failed"
50
	fi
46
	fi
47
	
48
	cd Linux
49
	emake CPU="${CPU}" || die "emake failed"
51
}
50
}
52
51
53
src_install() {
52
src_install() {

Return to bug 119240