diff options
author | Sven Wegener <swegener@gentoo.org> | 2012-11-25 15:31:57 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2012-11-25 15:31:57 +0000 |
commit | 9953e7b53e7fdde433e468b656615136f476a1a8 (patch) | |
tree | a58c0ed97bb9dd24fa6172b31a31f8ad00a6001b /app-arch/par | |
parent | Update to libav-9 api and fix thumbnail support (diff) | |
download | gentoo-2-9953e7b53e7fdde433e468b656615136f476a1a8.tar.gz gentoo-2-9953e7b53e7fdde433e468b656615136f476a1a8.tar.bz2 gentoo-2-9953e7b53e7fdde433e468b656615136f476a1a8.zip |
Support user LDFLAGS, bug #332479.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x64D4CF24)
Diffstat (limited to 'app-arch/par')
-rw-r--r-- | app-arch/par/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/par/par-1.1.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/app-arch/par/ChangeLog b/app-arch/par/ChangeLog index a52b6e53f54d..812c28642382 100644 --- a/app-arch/par/ChangeLog +++ b/app-arch/par/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-arch/par -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/par/ChangeLog,v 1.19 2010/01/01 19:37:12 fauli Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/par/ChangeLog,v 1.20 2012/11/25 15:31:57 swegener Exp $ + + 25 Nov 2012; Sven Wegener <swegener@gentoo.org> par-1.1.ebuild: + Support user LDFLAGS, bug #332479. 01 Jan 2010; Christian Faulhammer <fauli@gentoo.org> par-1.1.ebuild: Transfer Prefix keywords diff --git a/app-arch/par/par-1.1.ebuild b/app-arch/par/par-1.1.ebuild index 0cabcc2941ba..77e022f3c1a8 100644 --- a/app-arch/par/par-1.1.ebuild +++ b/app-arch/par/par-1.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/par/par-1.1.ebuild,v 1.27 2010/01/01 19:37:12 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/par/par-1.1.ebuild,v 1.28 2012/11/25 15:31:57 swegener Exp $ + +EAPI=2 inherit toolchain-funcs @@ -19,6 +21,12 @@ RDEPEND="${DEPEND}" S="${WORKDIR}"/par-cmdline +src_prepare() { + sed -i \ + -e 's/\$(CC)/$(LINK.o)/' \ + Makefile || die "sed failed" +} + src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" } |