summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-04-07 15:14:13 +0200
committerDavid Seifert <soap@gentoo.org>2021-04-07 15:14:13 +0200
commit43c1ed5917557811e7ae466ad2c5c3ff638c4a1a (patch)
tree7eb5d5858ff264bdb3008a929ad73df06ce9a337 /sci-visualization
parentsys-kernel/gentoo-sources: Linux version updates (diff)
downloadgentoo-43c1ed5917557811e7ae466ad2c5c3ff638c4a1a.tar.gz
gentoo-43c1ed5917557811e7ae466ad2c5c3ff638c4a1a.tar.bz2
gentoo-43c1ed5917557811e7ae466ad2c5c3ff638c4a1a.zip
sci-visualization/gnuplot: Set WX_GTK_VER before inherit
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild8
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.4.1-r2.ebuild8
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.5.9999-r1.ebuild8
3 files changed, 9 insertions, 15 deletions
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild
index b9535e91c7e2..ff93661495b2 100644
--- a/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild
@@ -4,6 +4,7 @@
EAPI=7
LUA_COMPAT=( lua5-{1,2,3} )
+WX_GTK_VER="3.0-gtk3"
inherit autotools flag-o-matic lua-single readme.gentoo-r1 toolchain-funcs wxwidgets
@@ -52,7 +53,7 @@ RDEPEND="
readline? ( sys-libs/readline:0= )
libcerf? ( sci-libs/libcerf )
wxwidgets? (
- x11-libs/wxGTK:3.0-gtk3[X]
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
x11-libs/cairo
x11-libs/pango
x11-libs/gtk+:3 )
@@ -112,10 +113,7 @@ src_configure() {
sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
fi
- if use wxwidgets; then
- WX_GTK_VER="3.0-gtk3"
- setup-wxwidgets
- fi
+ use wxwidgets && setup-wxwidgets
tc-export CC CXX #453174
tc-export_build_env BUILD_CC
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.1-r2.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.1-r2.ebuild
index 036512103ddf..be48f00ee31a 100644
--- a/sci-visualization/gnuplot/gnuplot-5.4.1-r2.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.4.1-r2.ebuild
@@ -4,6 +4,7 @@
EAPI=7
LUA_COMPAT=( lua5-{1,2,3} )
+WX_GTK_VER="3.0-gtk3"
inherit autotools flag-o-matic lua-single readme.gentoo-r1 toolchain-funcs wxwidgets
@@ -52,7 +53,7 @@ RDEPEND="
readline? ( sys-libs/readline:0= )
libcerf? ( sci-libs/libcerf )
wxwidgets? (
- x11-libs/wxGTK:3.0-gtk3[X]
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
x11-libs/cairo
x11-libs/pango
x11-libs/gtk+:3 )
@@ -112,10 +113,7 @@ src_configure() {
sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
fi
- if use wxwidgets; then
- WX_GTK_VER="3.0-gtk3"
- setup-wxwidgets
- fi
+ use wxwidgets && setup-wxwidgets
tc-export CC CXX #453174
tc-export_build_env BUILD_CC
diff --git a/sci-visualization/gnuplot/gnuplot-5.5.9999-r1.ebuild b/sci-visualization/gnuplot/gnuplot-5.5.9999-r1.ebuild
index 5373eb6b38ab..fd660d8cfb87 100644
--- a/sci-visualization/gnuplot/gnuplot-5.5.9999-r1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.5.9999-r1.ebuild
@@ -4,6 +4,7 @@
EAPI=7
LUA_COMPAT=( lua5-{1,2,3} )
+WX_GTK_VER="3.0-gtk3"
inherit autotools flag-o-matic lua-single readme.gentoo-r1 toolchain-funcs wxwidgets
@@ -52,7 +53,7 @@ RDEPEND="
readline? ( sys-libs/readline:0= )
libcerf? ( sci-libs/libcerf )
wxwidgets? (
- x11-libs/wxGTK:3.0-gtk3[X]
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
x11-libs/cairo
x11-libs/pango
x11-libs/gtk+:3 )
@@ -112,10 +113,7 @@ src_configure() {
sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
fi
- if use wxwidgets; then
- WX_GTK_VER="3.0-gtk3"
- setup-wxwidgets
- fi
+ use wxwidgets && setup-wxwidgets
tc-export CC CXX #453174
tc-export_build_env BUILD_CC