From 941ee21779439677f72ca4eeaf60c480c5dc005b Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 7 Mar 2006 15:13:05 +0000 Subject: Drop virtual/libc dependency. Respect CC and LDFLAGS. (Portage version: 2.1_pre5-r4) --- media-sound/mserv/ChangeLog | 6 +++++- media-sound/mserv/mserv-0.35-r1.ebuild | 15 +++++++-------- media-sound/mserv/mserv-0.35.ebuild | 17 ++++++++--------- 3 files changed, 20 insertions(+), 18 deletions(-) (limited to 'media-sound') diff --git a/media-sound/mserv/ChangeLog b/media-sound/mserv/ChangeLog index 03248d631b00..d652d314ee45 100644 --- a/media-sound/mserv/ChangeLog +++ b/media-sound/mserv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/mserv # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/ChangeLog,v 1.13 2006/01/10 17:07:28 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/ChangeLog,v 1.14 2006/03/07 15:13:04 flameeyes Exp $ + + 07 Mar 2006; Diego Pettenò mserv-0.35.ebuild, + mserv-0.35-r1.ebuild: + Drop virtual/libc dependency. Respect CC and LDFLAGS. *mserv-0.35-r1 (10 Jan 2006) diff --git a/media-sound/mserv/mserv-0.35-r1.ebuild b/media-sound/mserv/mserv-0.35-r1.ebuild index 7336d598eb02..22b29737aa4c 100644 --- a/media-sound/mserv/mserv-0.35-r1.ebuild +++ b/media-sound/mserv/mserv-0.35-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/mserv-0.35-r1.ebuild,v 1.1 2006/01/10 17:07:28 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/mserv-0.35-r1.ebuild,v 1.2 2006/03/07 15:13:05 flameeyes Exp $ -inherit webapp eutils +inherit webapp eutils toolchain-funcs DESCRIPTION="Jukebox-style music server" HOMEPAGE="http://www.mserv.org" @@ -15,12 +15,11 @@ IUSE="oggvorbis" WEBAPP_MANUAL_SLOT="yes" SLOT="0" -DEPEND="virtual/libc" RDEPEND=">=dev-lang/perl-5.6.1 - virtual/mpg123 - media-sound/sox - net-www/apache - oggvorbis? ( media-sound/vorbis-tools )" + virtual/mpg123 + media-sound/sox + net-www/apache + oggvorbis? ( media-sound/vorbis-tools )" pkg_setup() { webapp_pkg_setup @@ -44,7 +43,7 @@ src_compile() { # Optional suid wrapper cd ${S}/support - gcc -I.. -I../mserv ${CFLAGS} mservplay.c -o mservplay || die + $(tc-getCC) -I.. -I../mserv ${CFLAGS} ${LDFLAGS} mservplay.c -o mservplay || die } src_install() { diff --git a/media-sound/mserv/mserv-0.35.ebuild b/media-sound/mserv/mserv-0.35.ebuild index 08affec50169..9292522e9461 100644 --- a/media-sound/mserv/mserv-0.35.ebuild +++ b/media-sound/mserv/mserv-0.35.ebuild @@ -1,8 +1,8 @@ -# 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/mserv/mserv-0.35.ebuild,v 1.12 2005/08/24 16:52:27 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/mserv-0.35.ebuild,v 1.13 2006/03/07 15:13:05 flameeyes Exp $ -inherit webapp-apache eutils +inherit webapp-apache eutils toolchain-funcs DESCRIPTION="Jukebox-style music server" HOMEPAGE="http://www.mserv.org" @@ -13,12 +13,11 @@ SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" IUSE="vorbis" -DEPEND="virtual/libc" RDEPEND=">=dev-lang/perl-5.6.1 - virtual/mpg123 - media-sound/sox - net-www/apache - vorbis? ( media-sound/vorbis-tools )" + virtual/mpg123 + media-sound/sox + net-www/apache + vorbis? ( media-sound/vorbis-tools )" pkg_setup() { enewgroup mserv @@ -43,7 +42,7 @@ src_compile() { # Optional suid wrapper cd ${S}/support - gcc -I.. -I../mserv ${CFLAGS} mservplay.c -o mservplay || die + $(tc-getCC) -I.. -I../mserv ${CFLAGS} ${LDFLAGS} mservplay.c -o mservplay || die } src_install() { -- cgit v1.2.3-65-gdbad