summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 14:50:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 14:50:31 +0000
commitc41742dc654020115e959e0489fea969be819554 (patch)
treed529e40f5f3d6c149e1e9127559d65eac62fbfc7 /media-sound/gsm/gsm-1.0.10.ebuild
parentDrop virtual/libc dependency. Drop redundant src_compile. (diff)
downloadgentoo-2-c41742dc654020115e959e0489fea969be819554.tar.gz
gentoo-2-c41742dc654020115e959e0489fea969be819554.tar.bz2
gentoo-2-c41742dc654020115e959e0489fea969be819554.zip
Drop virtual/libc dependency. Respect CC.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-sound/gsm/gsm-1.0.10.ebuild')
-rw-r--r--media-sound/gsm/gsm-1.0.10.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/media-sound/gsm/gsm-1.0.10.ebuild b/media-sound/gsm/gsm-1.0.10.ebuild
index c7a1a8110188..e6f5b80a34d9 100644
--- a/media-sound/gsm/gsm-1.0.10.ebuild
+++ b/media-sound/gsm/gsm-1.0.10.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2005 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/gsm/gsm-1.0.10.ebuild,v 1.14 2005/04/01 20:35:07 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/gsm-1.0.10.ebuild,v 1.15 2006/03/07 14:50:31 flameeyes Exp $
IUSE=""
-inherit eutils versionator
+inherit eutils versionator toolchain-funcs
S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-pl' )"
@@ -16,8 +16,6 @@ SLOT="0"
LICENSE="OSI-Approved"
KEYWORDS="amd64 ppc sparc x86"
-DEPEND="virtual/libc"
-
src_unpack() {
unpack ${A}
cd ${A}
@@ -25,7 +23,7 @@ src_unpack() {
}
src_compile() {
- emake CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" || die
+ emake CC="$(tc-getCC)" CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" || die
}
src_install() {