diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2009-02-28 20:04:59 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2009-02-28 20:04:59 +0000 |
commit | 7662877dae43f8adad4d0191815cbb3515346e43 (patch) | |
tree | 30ccceaadf8ec00104cbedd1bcfec0ae2ad34dbc /sys-power/pmtools/pmtools-20071116.ebuild | |
parent | Initial import. Fixes #225475. Initial ebuild by Maciej Blizinski. (diff) | |
download | historical-7662877dae43f8adad4d0191815cbb3515346e43.tar.gz historical-7662877dae43f8adad4d0191815cbb3515346e43.tar.bz2 historical-7662877dae43f8adad4d0191815cbb3515346e43.zip |
Updated to respect user LDFLAGS (see bug #253087).
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sys-power/pmtools/pmtools-20071116.ebuild')
-rw-r--r-- | sys-power/pmtools/pmtools-20071116.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys-power/pmtools/pmtools-20071116.ebuild b/sys-power/pmtools/pmtools-20071116.ebuild index ce1dcbc5d725..8e642ae17031 100644 --- a/sys-power/pmtools/pmtools-20071116.ebuild +++ b/sys-power/pmtools/pmtools-20071116.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.5 2008/11/09 13:50:47 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.6 2009/02/28 20:04:59 nerdboy Exp $ -inherit eutils toolchain-funcs +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="ACPI disassembler tools, including acpidump" HOMEPAGE="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/" @@ -22,16 +22,16 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-20071116-acpixtract-pmtools.patch - # Integrated upstream - #epatch "${FILESDIR}"/${PN}-20070714-madt.patch + sed -i.orig -e '/^CFLAGS/s, -s , ,' \ + -i.orig -e "s:-Os::g" \ + acpidump/Makefile || die "sed failed" - sed -i.orig \ - -e '/^CFLAGS/s, -s , ,' \ - "${S}"/acpidump/Makefile || die "sed failed" + strip-unsupported-flags } src_compile() { - emake CC="$(tc-getCC)" || die "emake failed" + # respect user's LDFLAGS + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed" } src_install() { |