summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/par')
-rw-r--r--app-arch/par/ChangeLog7
-rw-r--r--app-arch/par/par-1.1.ebuild12
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"
}