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

Collapse All | Expand All

(-)iasl-20100528.ebuild (-6 / +7 lines)
Lines 37-54 pkg_setup() { Link Here
37
src_unpack() {
37
src_unpack() {
38
	unpack ${A}
38
	unpack ${A}
39
	cd "${S}"
39
	cd "${S}"
40
	epatch "${FILESDIR}"/iasl-20100428-parallelmake.patch
40
	epatch "${FILESDIR}/${PN}-20110922-as-needed.patch"
41
	epatch "${FILESDIR}"/iasl-locale.patch
41
	epatch "${FILESDIR}/${PN}-20110922-locale.patch"
42
	epatch "${FILESDIR}/${PN}-20110922-parallelmake-001.patch"
43
	epatch "${FILESDIR}/${PN}-20110922-parallelmake-002.patch"
42
44
43
	sed -i -e 's:LDFLAGS=:LDLIBS+=:' \
45
	find "${S}" -type f -name 'Makefile*' | xargs -I '{}' \
44
		"${S}"/compiler/Makefile || die "unable to fix compiler Makefile"
46
		sed -r -e 's:-\<Werror\>::g' -i '{}' || die
45
}
47
}
46
48
47
src_compile() {
49
src_compile() {
48
	local target bin
50
	local target bin
49
	append-flags -fno-strict-aliasing
50
51
51
	for target in compiler tools/acpisrc tools/acpixtract tools/acpiexec
52
	for target in compiler tools/acpi{bin,exec,help,names,src,xtract}
52
	do
53
	do
53
		einfo "Compiling in ${target}/"
54
		einfo "Compiling in ${target}/"
54
		cd "${S}"/${target}
55
		cd "${S}"/${target}

Return to bug 347019