aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1998-03-16 07:48:16 +0800
committerjmz <jmz@FreeBSD.org>1998-03-16 07:48:16 +0800
commitef08fe0d36067b30cf762e0ad55dbec73e8a9cce (patch)
tree0da944daa9300b68120aef8f93cd93e2b0335171 /x11-servers
parenta6d265c1f9348dd44742bba4fb224caf12dc89a3 (diff)
downloadfreebsd-ports-gnome-ef08fe0d36067b30cf762e0ad55dbec73e8a9cce.tar.gz
freebsd-ports-gnome-ef08fe0d36067b30cf762e0ad55dbec73e8a9cce.tar.zst
freebsd-ports-gnome-ef08fe0d36067b30cf762e0ad55dbec73e8a9cce.zip
Built XF86Setup only if tk4.2/tcl7.6 is there. Other versions do not seem to
work.
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure7
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure7
2 files changed, 8 insertions, 6 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index 24ae1683d3b4..fcc38caf0028 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/scripts/configure
@@ -21,7 +21,8 @@ rm -f $F
# Tk detection
tkversion=
-for v in 1 2; do
+###### only tk 4.2/tcl 7.6 is known to work
+for v in 2; do
if [ -f /usr/local/lib/libtk4$v.a ]; then
tkversion=$v
fi
@@ -46,9 +47,9 @@ if [ X$tkversion != X ]; then
echo "#define TclLibName tcl7$tclversion" >>$F
else
cat <<EOF
-*** I don't see the static library for tk version 4 in /usr/local/lib.
+*** I don't see the static library for tk version 4.2 in /usr/local/lib.
*** XF86Setup will not be installed. If you want to build this program
-*** install tk first.
+*** install tk 4.2 first.
EOF
fi
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index 24ae1683d3b4..fcc38caf0028 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -21,7 +21,8 @@ rm -f $F
# Tk detection
tkversion=
-for v in 1 2; do
+###### only tk 4.2/tcl 7.6 is known to work
+for v in 2; do
if [ -f /usr/local/lib/libtk4$v.a ]; then
tkversion=$v
fi
@@ -46,9 +47,9 @@ if [ X$tkversion != X ]; then
echo "#define TclLibName tcl7$tclversion" >>$F
else
cat <<EOF
-*** I don't see the static library for tk version 4 in /usr/local/lib.
+*** I don't see the static library for tk version 4.2 in /usr/local/lib.
*** XF86Setup will not be installed. If you want to build this program
-*** install tk first.
+*** install tk 4.2 first.
EOF
fi