aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2014-10-25 17:50:40 +0200
committerMatthias Maier <tamiko@gentoo.org>2014-10-25 17:50:40 +0200
commit4c982f626dbae30caa5885b7bf1181baf6cf9592 (patch)
tree770d829bcc5a83e797ed9ab2120e643180a5d3de /sci-physics/root/root-9999.ebuild
parentsync with gx86 (diff)
downloadsci-4c982f626dbae30caa5885b7bf1181baf6cf9592.tar.gz
sci-4c982f626dbae30caa5885b7bf1181baf6cf9592.tar.bz2
sci-4c982f626dbae30caa5885b7bf1181baf6cf9592.zip
sci-physics/root: Fix compilation with USE="mysql" wrt bug #523996; fix die_compiler message
Package-Manager: portage-2.2.8-r2
Diffstat (limited to 'sci-physics/root/root-9999.ebuild')
-rw-r--r--sci-physics/root/root-9999.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index b2074ac3f..00f49462a 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -128,10 +128,10 @@ PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )"
DOC_DIR="/usr/share/doc/${P}"
die_compiler() {
- die "Need one of the following C++11 capable compilers:"
- die " >=sys-devel/gcc[cxx]-4.8"
- die " >=sys-devel/clang-3.4"
- die " >=dev-lang/icc-13"
+ die "Need one of the following C++11 capable compilers:"\
+ " >=sys-devel/gcc[cxx]-4.8"\
+ " >=sys-devel/clang-3.4"\
+ " >=dev-lang/icc-13"
}
pkg_setup() {
@@ -320,6 +320,8 @@ src_configure() {
$(use_enable math vdt)
$(use_enable math unuran)
$(use_enable mysql)
+ $(usex mysql \
+ "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "")
$(use_enable odbc)
$(use_enable opengl)
$(use_enable oracle)