diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-07-12 09:14:54 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-07-12 09:14:54 +0000 |
commit | 6913a5af962ed5f120b37589421ae7e4d3030803 (patch) | |
tree | 5ea4a6d2299ea862d79c3271f7258dc7610f5ca6 /media-sound/rawrec/rawrec-0.9.98.ebuild | |
parent | block media-sound/mpc, see bug 230840 reported by Daniel Schömer <daniel DOT... (diff) | |
download | historical-6913a5af962ed5f120b37589421ae7e4d3030803.tar.gz historical-6913a5af962ed5f120b37589421ae7e4d3030803.tar.bz2 historical-6913a5af962ed5f120b37589421ae7e4d3030803.zip |
dont use ldflags to link to libraries, bug #226899
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.7 x86_64
Diffstat (limited to 'media-sound/rawrec/rawrec-0.9.98.ebuild')
-rw-r--r-- | media-sound/rawrec/rawrec-0.9.98.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
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() { |