aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Malte Gottfried <jmgottfried@web.de>2012-10-05 16:09:09 +0200
committerJens-Malte Gottfried <jmgottfried@web.de>2012-10-05 16:09:09 +0200
commitea745cfc2f1d71cb5a3be4d2462a6e26ef20f926 (patch)
tree58a630388aa5c8078902d2434dc045ac615c4534
parentlive ebuild update (diff)
downloadsci-ea745cfc2f1d71cb5a3be4d2462a6e26ef20f926.tar.gz
sci-ea745cfc2f1d71cb5a3be4d2462a6e26ef20f926.tar.bz2
sci-ea745cfc2f1d71cb5a3be4d2462a6e26ef20f926.zip
fix to build petsc in Gentoo Prefix (thanks to Matthias Maier)
-rw-r--r--sci-mathematics/petsc/petsc-3.3_p1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-mathematics/petsc/petsc-3.3_p1.ebuild b/sci-mathematics/petsc/petsc-3.3_p1.ebuild
index 36e2d7aaf..0490a56ef 100644
--- a/sci-mathematics/petsc/petsc-3.3_p1.ebuild
+++ b/sci-mathematics/petsc/petsc-3.3_p1.ebuild
@@ -74,7 +74,7 @@ src_configure() {
if use ${1}; then
myuse="--with-${p}=1"
if [[ $# -ge 4 ]]; then
- myuse="${myuse} --with-${p}-include=${3}"
+ myuse="${myuse} --with-${p}-include=${EPREFIX}${3}"
shift 3
myuse="${myuse} --with-${p}-lib=$@"
else