From 3102c35c298f516540c1185f8ae141adb1abdadf Mon Sep 17 00:00:00 2001 From: Stefan Briesenick Date: Sun, 1 Oct 2006 20:22:52 +0000 Subject: added LDFLAGS Package-Manager: portage-2.1.2_pre2 --- media-sound/declick/ChangeLog | 5 ++++- media-sound/declick/declick-0.6.5.ebuild | 12 ++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'media-sound/declick') diff --git a/media-sound/declick/ChangeLog b/media-sound/declick/ChangeLog index d451f7b4fb45..6043f42d7250 100644 --- a/media-sound/declick/ChangeLog +++ b/media-sound/declick/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/declick # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/ChangeLog,v 1.1 2006/02/04 22:49:07 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/ChangeLog,v 1.2 2006/10/01 20:22:52 sbriesen Exp $ + + 01 Oct 2006; Stefan Briesenick declick-0.6.5.ebuild: + added LDFLAGS *declick-0.6.5 (04 Feb 2006) diff --git a/media-sound/declick/declick-0.6.5.ebuild b/media-sound/declick/declick-0.6.5.ebuild index 6f4b08be7bcd..e252fd2c1823 100644 --- a/media-sound/declick/declick-0.6.5.ebuild +++ b/media-sound/declick/declick-0.6.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/declick-0.6.5.ebuild,v 1.1 2006/02/04 22:49:07 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/declick-0.6.5.ebuild,v 1.2 2006/10/01 20:22:52 sbriesen Exp $ inherit eutils toolchain-funcs @@ -14,8 +14,16 @@ KEYWORDS="~x86" IUSE="" DEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + + # add $LDFLAGS to link command + sed -i -e "s:\(-o declick\):\$(LDFLAGS) \1:g" Makefile +} + src_compile() { - emake CC="$(tc-getCC)" COPTS="${CFLAGS}" || die "emake failed" + emake CC="$(tc-getCC)" COPTS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" } src_install() { -- cgit v1.2.3-65-gdbad