summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-15 11:44:41 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-15 11:44:41 +0000
commitcdb1bb58878710e056c7fe7a81fdd5962f5a80f1 (patch)
tree494897dcab2a63f039984801a3ca2f550dc31e71 /sys-cluster/ploop/ploop-1.2.ebuild
parentRevision bump: EAPI 5, use autotools-utils eclass, respect CFLAGS wrt bug #45... (diff)
downloadgentoo-2-cdb1bb58878710e056c7fe7a81fdd5962f5a80f1.tar.gz
gentoo-2-cdb1bb58878710e056c7fe7a81fdd5962f5a80f1.tar.bz2
gentoo-2-cdb1bb58878710e056c7fe7a81fdd5962f5a80f1.zip
Respect AR and RANLIB, wrt bug #452092. Thanks to Agostino Sarubbo for discovering this issue
(Portage version: 2.2.0_alpha152/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sys-cluster/ploop/ploop-1.2.ebuild')
-rw-r--r--sys-cluster/ploop/ploop-1.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-cluster/ploop/ploop-1.2.ebuild b/sys-cluster/ploop/ploop-1.2.ebuild
index 12cc34cf4553..0ef90d52028a 100644
--- a/sys-cluster/ploop/ploop-1.2.ebuild
+++ b/sys-cluster/ploop/ploop-1.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.2.ebuild,v 1.1 2012/05/03 22:32:24 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.2.ebuild,v 1.2 2013/01/15 11:44:41 pinkbyte Exp $
EAPI=4
@@ -25,6 +25,10 @@ src_prepare() {
# Avoid striping of binaries
sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die
epatch "${FILESDIR}/ploop-1.2-soname.patch"
+
+ # respect AR and RANLIB, bug #452092
+ tc-export AR RANLIB
+ sed -i -e 's/ranlib/$(RANLIB)/' lib/Makefile || die 'sed on lib/Makefile failed'
}
src_compile() {