From 6913a5af962ed5f120b37589421ae7e4d3030803 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 12 Jul 2008 09:14:54 +0000 Subject: dont use ldflags to link to libraries, bug #226899 Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.7 x86_64 --- media-sound/rawrec/rawrec-0.9.98.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'media-sound/rawrec/rawrec-0.9.98.ebuild') diff --git a/media-sound/rawrec/rawrec-0.9.98.ebuild b/media-sound/rawrec/rawrec-0.9.98.ebuild index db25d0d8599a..f5f9423fb735 100644 --- a/media-sound/rawrec/rawrec-0.9.98.ebuild +++ b/media-sound/rawrec/rawrec-0.9.98.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rawrec/rawrec-0.9.98.ebuild,v 1.13 2007/02/13 10:55:15 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rawrec/rawrec-0.9.98.ebuild,v 1.14 2008/07/12 09:14:53 aballier Exp $ -inherit flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs eutils IUSE="" @@ -16,9 +16,14 @@ KEYWORDS="alpha amd64 ppc ppc64 sparc x86" S=${S}/src +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-libs.patch" +} + src_compile() { - append-ldflags -lm -lpthread - emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die + emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die } src_install() { -- cgit v1.2.3-65-gdbad