summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-08-16 18:10:32 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-08-16 18:11:54 +0000
commit0305b5ebd2c552ef4e639c7da23d4f3f0a199acd (patch)
tree326e90b686b53d5ca283fb6c89f1b1fb64768697 /sci-libs/symengine
parentsci-libs/scikits_learn: version bump. remove doc building for now (downloadin... (diff)
downloadgentoo-0305b5ebd2c552ef4e639c7da23d4f3f0a199acd.tar.gz
gentoo-0305b5ebd2c552ef4e639c7da23d4f3f0a199acd.tar.bz2
gentoo-0305b5ebd2c552ef4e639c7da23d4f3f0a199acd.zip
sci-libs/symengine: fix library directory for multilib-strict
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'sci-libs/symengine')
-rw-r--r--sci-libs/symengine/symengine-0.3.0-r1.ebuild (renamed from sci-libs/symengine/symengine-0.3.0.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-libs/symengine/symengine-0.3.0.ebuild b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
index 45298fd2cbb7..c493c94e39e8 100644
--- a/sci-libs/symengine/symengine-0.3.0.ebuild
+++ b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
@@ -33,7 +33,11 @@ pkg_pretend() {
src_prepare() {
cmake-utils_src_prepare
sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \
- -i CMakeLists.txt || die
+ -e "s|/lib|/$(get_libdir)|g" \
+ -e "s|lib/|$(get_libdir)/|g" \
+ -e "/DESTINATION/s|lib|$(get_libdir)|g" \
+ -i CMakeLists.txt symengine/CMakeLists.txt \
+ symengine/utilities/teuchos/CMakeLists.txt || die
}
src_configure() {