summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:48:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:48:12 +0000
commit785b780e19347e9ca14b2adaa0eae386e94432db (patch)
tree6ab5dba90c6f48b7bce88b3eb12c32527d8c093c /media-sound
parentDrop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS. (diff)
downloadgentoo-2-785b780e19347e9ca14b2adaa0eae386e94432db.tar.gz
gentoo-2-785b780e19347e9ca14b2adaa0eae386e94432db.tar.bz2
gentoo-2-785b780e19347e9ca14b2adaa0eae386e94432db.zip
Drop virtual/libc dependency. Respect CC.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/setmixer/ChangeLog8
-rw-r--r--media-sound/setmixer/setmixer-19941227_rc7.ebuild14
2 files changed, 12 insertions, 10 deletions
diff --git a/media-sound/setmixer/ChangeLog b/media-sound/setmixer/ChangeLog
index 64e34c48c1fb..ea8c56df6cc1 100644
--- a/media-sound/setmixer/ChangeLog
+++ b/media-sound/setmixer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/setmixer
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/setmixer/ChangeLog,v 1.9 2005/07/25 19:10:28 dholm Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/setmixer/ChangeLog,v 1.10 2006/03/07 15:48:12 flameeyes Exp $
+
+ 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+ setmixer-19941227_rc7.ebuild:
+ Drop virtual/libc dependency. Respect CC.
25 Jul 2005; David Holm <dholm@gentoo.org> setmixer-19941227_rc7.ebuild:
Added to ~ppc.
diff --git a/media-sound/setmixer/setmixer-19941227_rc7.ebuild b/media-sound/setmixer/setmixer-19941227_rc7.ebuild
index 217d327595d2..f053d78d0401 100644
--- a/media-sound/setmixer/setmixer-19941227_rc7.ebuild
+++ b/media-sound/setmixer/setmixer-19941227_rc7.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/setmixer/setmixer-19941227_rc7.ebuild,v 1.10 2005/07/25 19:10:28 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/setmixer/setmixer-19941227_rc7.ebuild,v 1.11 2006/03/07 15:48:12 flameeyes Exp $
IUSE=""
-inherit eutils
+inherit eutils toolchain-funcs
MY_PV="27DEC94"
DEB_REV="7"
@@ -17,17 +17,15 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
-DEPEND="virtual/libc"
-
S=${WORKDIR}/${PN}-${MY_PV}.orig
src_unpack() {
unpack ${A}
- epatch ${PN}_${MY_PV}-${DEB_REV}.diff
+ epatch "${DISTDIR}/${PN}_${MY_PV}-${DEB_REV}.diff.gz"
}
src_compile() {
- emake CFLAGS="${CFLAGS}" clean setmixer || die
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" clean setmixer || die
}
src_install() {
@@ -35,5 +33,5 @@ src_install() {
dodoc README setmixer.lsm
doman setmixer.1
insinto /etc ; doins debian/setmixer.conf
- exeinto /etc/init.d ; newexe ${FILESDIR}/setmixer.rc setmixer
+ newinitd ${FILESDIR}/setmixer.rc setmixer
}