diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-02 21:53:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-02 21:53:41 +0000 |
commit | 53dd91020c80bb0739ee8e54de2091e43d841b3b (patch) | |
tree | 22b1dd7689d884bcba63bd2299a70e68fbb0d520 /sys-apps/dmidecode/dmidecode-2.9.ebuild | |
parent | dev-dotnet/ikvm: Fixed sandbox violation errors (bug #204107) (diff) | |
download | historical-53dd91020c80bb0739ee8e54de2091e43d841b3b.tar.gz historical-53dd91020c80bb0739ee8e54de2091e43d841b3b.tar.bz2 historical-53dd91020c80bb0739ee8e54de2091e43d841b3b.zip |
Use emake in src_install and make sure we use a nice CC value #204119 by Davide Cendron.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'sys-apps/dmidecode/dmidecode-2.9.ebuild')
-rw-r--r-- | sys-apps/dmidecode/dmidecode-2.9.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/dmidecode/dmidecode-2.9.ebuild b/sys-apps/dmidecode/dmidecode-2.9.ebuild index 96fef8a61102..72845cf1e225 100644 --- a/sys-apps/dmidecode/dmidecode-2.9.ebuild +++ b/sys-apps/dmidecode/dmidecode-2.9.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmidecode/dmidecode-2.9.ebuild,v 1.4 2007/06/29 14:16:06 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmidecode/dmidecode-2.9.ebuild,v 1.5 2008/01/02 21:53:41 vapier Exp $ -inherit flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="DMI (Desktop Management Interface) table related utilities" HOMEPAGE="http://www.nongnu.org/dmidecode/" @@ -26,10 +26,14 @@ src_unpack() { } src_compile() { - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" + emake \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CC=$(tc-getCC) \ + || die "emake failed" } src_install() { - make install DESTDIR="${D}" || die "make install failed" + emake install DESTDIR="${D}" || die "make install failed" prepalldocs } |