summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cgnstools/cgnstools-2.5.2.ebuild')
-rw-r--r--sci-libs/cgnstools/cgnstools-2.5.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sci-libs/cgnstools/cgnstools-2.5.2.ebuild b/sci-libs/cgnstools/cgnstools-2.5.2.ebuild
index bed50d77d..3351be315 100644
--- a/sci-libs/cgnstools/cgnstools-2.5.2.ebuild
+++ b/sci-libs/cgnstools/cgnstools-2.5.2.ebuild
@@ -64,7 +64,8 @@ src_compile() {
fi
if use tk ; then
- TKVER="$(echo 'puts [info tkversion]' | $(type -P wish))"
+ # no, there's no tkversion, and type -P wish requires running X
+ TKVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))"
myconf="${myconf} $(use_with tk tk /usr/$(get_libdir)/tk${TKVER})"
fi