diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-07 15:52:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-07 15:52:29 +0000 |
commit | 6d9e07ab21551ec0c5526f2023c35e31141663f5 (patch) | |
tree | 56dcf93982172c5f4c8418f5d4f8a48285c909e0 /media-sound/smixer/smixer-1.0.1.ebuild | |
parent | Drop virtual/libc dependency. Respect CC. (diff) | |
download | gentoo-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)
Diffstat (limited to 'media-sound/smixer/smixer-1.0.1.ebuild')
-rw-r--r-- | media-sound/smixer/smixer-1.0.1.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
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 () { |