summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-02 21:53:41 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-02 21:53:41 +0000
commitc84818a8f53f6bab7bd8c780b8639147e1ba6360 (patch)
treed8ddac4f8d39c429891205b7a0c2b54ca1dc3b63 /sys-apps
parentdev-dotnet/ikvm: Fixed sandbox violation errors (bug #204107) (diff)
downloadgentoo-2-c84818a8f53f6bab7bd8c780b8639147e1ba6360.tar.gz
gentoo-2-c84818a8f53f6bab7bd8c780b8639147e1ba6360.tar.bz2
gentoo-2-c84818a8f53f6bab7bd8c780b8639147e1ba6360.zip
Use emake in src_install and make sure we use a nice CC value #204119 by Davide Cendron.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/dmidecode/ChangeLog8
-rw-r--r--sys-apps/dmidecode/dmidecode-2.9.ebuild14
2 files changed, 15 insertions, 7 deletions
diff --git a/sys-apps/dmidecode/ChangeLog b/sys-apps/dmidecode/ChangeLog
index 4e8a57cb0797..b2e636b38008 100644
--- a/sys-apps/dmidecode/ChangeLog
+++ b/sys-apps/dmidecode/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/dmidecode
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmidecode/ChangeLog,v 1.20 2007/06/29 14:16:06 angelos Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmidecode/ChangeLog,v 1.21 2008/01/02 21:53:41 vapier Exp $
+
+ 02 Jan 2008; Mike Frysinger <vapier@gentoo.org> dmidecode-2.9.ebuild:
+ Use emake in src_install and make sure we use a nice CC value #204119 by
+ Davide Cendron.
29 Jun 2007; Christoph Mende <angelos@gentoo.org> dmidecode-2.9.ebuild:
Stable on amd64
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
}