View | Details | Raw Unified
Collapse All | Expand All

(-) snes9x-1.43-r1.ebuild.orig (-1 / +5 lines)
 Lines 47-53    Link Here 
	if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then
	if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then
		export ABI=x86
		export ABI=x86
		append-flags -m32
		append-flags -m32
		append-ldflags -m32
		append-ldflags -m32 -L/emul/linux/x86/lib32 -L/emul/linux/x86/usr/lib32
	fi
	fi
	local vidconf=
	local vidconf=
 Lines 69-74    Link Here 
				target=osnes9x;;
				target=osnes9x;;
			fallback|X)
			fallback|X)
				vidconf="--with-x --without-glide --without-opengl"
				vidconf="--with-x --without-glide --without-opengl"
				if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then
					# without this /usr/lib64 gets added
					use amd64 && vidconf="$vidconf --x-libraries=/emul/linux/x86/usr/lib32"
				fi
				target=snes9x;;
				target=snes9x;;
		esac
		esac
		# this stuff is ugly but hey the build process sucks ;)
		# this stuff is ugly but hey the build process sucks ;)