summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Niels Ole Salscheider <olesalscheider@exherbo.org> 2016-11-12 11:48:31 +0100
committerAvatar Niels Ole Salscheider <olesalscheider@exherbo.org> 2016-11-12 12:36:05 +0100
commitcaed6f0bb9ae463a9b6c238fb44efe42d215d27f (patch)
treeae1c0a5f2b2d9934a1ab6eec3ee655648a6c2a91
parent79a57bd12295b56a169cd128845d5e6e0dcf2e0e (diff)
downloadscientific-caed6f0bb9ae463a9b6c238fb44efe42d215d27f.tar.gz
scientific-caed6f0bb9ae463a9b6c238fb44efe42d215d27f.tar.xz
gnuplot: Bump to 5.0.5
-rw-r--r--packages/sci-apps/gnuplot/gnuplot-5.0.5.exheres-0 (renamed from packages/sci-apps/gnuplot/gnuplot-5.0.3.exheres-0)0
-rw-r--r--packages/sci-apps/gnuplot/gnuplot.exlib3
2 files changed, 3 insertions, 0 deletions
diff --git a/packages/sci-apps/gnuplot/gnuplot-5.0.3.exheres-0 b/packages/sci-apps/gnuplot/gnuplot-5.0.5.exheres-0
index 2b2da8b..2b2da8b 100644
--- a/packages/sci-apps/gnuplot/gnuplot-5.0.3.exheres-0
+++ b/packages/sci-apps/gnuplot/gnuplot-5.0.5.exheres-0
diff --git a/packages/sci-apps/gnuplot/gnuplot.exlib b/packages/sci-apps/gnuplot/gnuplot.exlib
index 89afc60..608fced 100644
--- a/packages/sci-apps/gnuplot/gnuplot.exlib
+++ b/packages/sci-apps/gnuplot/gnuplot.exlib
@@ -111,6 +111,9 @@ gnuplot_src_configure() {
export LUA_CFLAGS=$(${PKG_CONFIG} --cflags lua-$(lua_get_abi))
export LUA_LIBS=$(${PKG_CONFIG} --libs lua-$(lua_get_abi))
+ # Qt >= 5.7 requires at least C++11
+ option qt5 && export CXXFLAGS="${CXXFLAGS} -std=c++11"
+
default
}