Built XF86Setup only if tk4.2/tcl7.6 is there. Other versions do not seem to
work.
This commit is contained in:
parent
78453f8d41
commit
a3d7c75c63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10164
@ -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
|
||||
|
@ -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
|
||||
|
7
x11/XFree86-4-clients/scripts/configure
vendored
7
x11/XFree86-4-clients/scripts/configure
vendored
@ -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
|
||||
|
7
x11/XFree86-4-libraries/scripts/configure
vendored
7
x11/XFree86-4-libraries/scripts/configure
vendored
@ -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
|
||||
|
7
x11/XFree86-4/scripts/configure
vendored
7
x11/XFree86-4/scripts/configure
vendored
@ -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
|
||||
|
7
x11/XFree86/scripts/configure
vendored
7
x11/XFree86/scripts/configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user