summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:52:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:52:29 +0000
commit6d9e07ab21551ec0c5526f2023c35e31141663f5 (patch)
tree56dcf93982172c5f4c8418f5d4f8a48285c909e0
parentDrop virtual/libc dependency. Respect CC. (diff)
downloadgentoo-2-6d9e07ab21551ec0c5526f2023c35e31141663f5.tar.gz
gentoo-2-6d9e07ab21551ec0c5526f2023c35e31141663f5.tar.bz2
gentoo-2-6d9e07ab21551ec0c5526f2023c35e31141663f5.zip
Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
(Portage version: 2.1_pre5-r4)
-rw-r--r--media-sound/smixer/ChangeLog7
-rw-r--r--media-sound/smixer/smixer-1.0.1.ebuild13
2 files changed, 12 insertions, 8 deletions
diff --git a/media-sound/smixer/ChangeLog b/media-sound/smixer/ChangeLog
index 56180679fbbe..cce4c5d642f8 100644
--- a/media-sound/smixer/ChangeLog
+++ b/media-sound/smixer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/smixer
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/smixer/ChangeLog,v 1.9 2004/07/01 07:58:59 eradicator Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/smixer/ChangeLog,v 1.10 2006/03/07 15:52:29 flameeyes Exp $
+
+ 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> smixer-1.0.1.ebuild:
+ Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> smixer-1.0.1.ebuild:
virtual/glibc -> virtual/libc
diff --git a/media-sound/smixer/smixer-1.0.1.ebuild b/media-sound/smixer/smixer-1.0.1.ebuild
index 2b517e91010c..c6f8fba13eca 100644
--- a/media-sound/smixer/smixer-1.0.1.ebuild
+++ b/media-sound/smixer/smixer-1.0.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/smixer/smixer-1.0.1.ebuild,v 1.15 2004/07/01 07:58:59 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/smixer/smixer-1.0.1.ebuild,v 1.16 2006/03/07 15:52:29 flameeyes Exp $
+
+inherit toolchain-funcs
IUSE=""
@@ -12,12 +14,11 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc hppa amd64 sparc"
-DEPEND="virtual/libc"
-
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_compile() {
- emake || die
+ emake LD="$(tc-getCC)" CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}" || die
}
src_install () {