summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2013-06-25 08:26:33 +0000
committerThomas Kahle <tomka@gentoo.org>2013-06-25 08:26:33 +0000
commit7f7d1f41e3b4bad17f210f02586aed2d669f8597 (patch)
tree48a566e76f6ababebd769b7bb8d0194a4f6a6236 /sci-mathematics/normaliz/normaliz-2.10.ebuild
parentBump (diff)
downloadhistorical-7f7d1f41e3b4bad17f210f02586aed2d669f8597.tar.gz
historical-7f7d1f41e3b4bad17f210f02586aed2d669f8597.tar.bz2
historical-7f7d1f41e3b4bad17f210f02586aed2d669f8597.zip
Respect users AR tool (bug 474532)
Package-Manager: portage-2.1.12.9/cvs/Linux x86_64 Manifest-Sign-Key: 0x89DEB219565C32BC!
Diffstat (limited to 'sci-mathematics/normaliz/normaliz-2.10.ebuild')
-rw-r--r--sci-mathematics/normaliz/normaliz-2.10.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-mathematics/normaliz/normaliz-2.10.ebuild b/sci-mathematics/normaliz/normaliz-2.10.ebuild
index b24a415addfa..5ca11ba5ec94 100644
--- a/sci-mathematics/normaliz/normaliz-2.10.ebuild
+++ b/sci-mathematics/normaliz/normaliz-2.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/normaliz-2.10.ebuild,v 1.1 2013/05/14 07:21:21 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/normaliz-2.10.ebuild,v 1.2 2013/06/25 08:26:23 tomka Exp $
EAPI=5
@@ -28,6 +28,9 @@ S=${WORKDIR}/${MYP}
src_prepare () {
epatch "${FILESDIR}/${P}-respect-flags.patch"
+ # Respect users AR tool (Bug 474532)
+ sed -e "s:ar -cr:$(tc-getAR) -cr:" -i source/libnormaliz/Makefile
+
if use openmp && tc-has-openmp; then
export OPENMP=yes
else