summaryrefslogtreecommitdiff
path: root/mbone/vic
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-11-24 07:56:07 +0000
committerhubertf <hubertf>1998-11-24 07:56:07 +0000
commit4354a898759d09a80e943ed522f0265700381e85 (patch)
treea09d390584c7940325b18ffdc3f0792735f0622e /mbone/vic
parent8479ddb043c20da6ca5f16389999d9990430deeb (diff)
downloadpkgsrc-4354a898759d09a80e943ed522f0265700381e85.tar.gz
devide & optimize, per mycroft
Diffstat (limited to 'mbone/vic')
-rw-r--r--mbone/vic/patches/patch-aa284
-rw-r--r--mbone/vic/patches/patch-ag240
2 files changed, 270 insertions, 254 deletions
diff --git a/mbone/vic/patches/patch-aa b/mbone/vic/patches/patch-aa
index 49b518cc4fc..74cff9a809b 100644
--- a/mbone/vic/patches/patch-aa
+++ b/mbone/vic/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
+$NetBSD: patch-aa,v 1.4 1998/11/24 07:56:07 hubertf Exp $
---- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/configure Mon Jun 24 02:59:45 1996
-+++ configure Wed Nov 19 15:53:44 1997
+--- configure.orig Mon Jun 24 02:59:45 1996
++++ configure Tue Nov 24 08:38:21 1998
@@ -1,7 +1,7 @@
#! /bin/sh
@@ -224,9 +224,9 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
+ if test "$ac_test_CFLAGS" = set; then
+ CFLAGS="$ac_save_CFLAGS"
+ elif test $ac_cv_prog_cc_g = yes; then
-+ CFLAGS="-g -O2"
++ CFLAGS="-g -O6"
+ else
-+ CFLAGS="-O2"
++ CFLAGS="-O6"
fi
else
GCC=
@@ -346,9 +346,9 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
+ if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ elif test $ac_cv_prog_cxx_g = yes; then
-+ CXXFLAGS="-g -O2"
++ CXXFLAGS="-g -O6"
+ else
-+ CXXFLAGS="-O2"
++ CXXFLAGS="-O6"
fi
else
GXX=
@@ -704,6 +704,15 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
+@@ -1223,7 +1328,7 @@
+ enableval="$enable_debug"
+ V_CCOPT="-g"
+ else
+- V_CCOPT="-O2"
++ V_CCOPT="-O6"
+ fi
+
+
@@ -1304,18 +1409,20 @@
echo "checking for X11 header files"
if test "$x_includes" = NONE ; then
@@ -1135,7 +1144,12 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
/usr/local/lib/tk \
/usr/lib/tk \
/usr/lib/tk/tk \
-@@ -2071,8 +2200,13 @@
+@@ -2067,12 +2196,17 @@
+ # the following line should be deleted.
+ V_SHM=""
+ V_TARCMD="tar cfL"
+- V_CCOPT="-O2 -m486"
++ V_CCOPT="-O6 -m486"
V_LIB="$V_LIB -lipc"
;;
*-*-netbsd*)
@@ -1150,7 +1164,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
;;
*-*-hpux*)
V_CCOPT="-O"
-@@ -2131,30 +2264,32 @@
+@@ -2131,30 +2265,32 @@
V_LIB_DL="dld"
;;
*-*-linux*)
@@ -1189,7 +1203,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
-@@ -2176,26 +2311,28 @@
+@@ -2176,26 +2312,28 @@
;;
esac
if test ! -z "$V_LIB_DL" ; then
@@ -1224,7 +1238,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
-@@ -2205,7 +2342,8 @@
+@@ -2205,7 +2343,8 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@@ -1234,7 +1248,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
-@@ -2279,11 +2417,25 @@
+@@ -2279,11 +2418,25 @@
# --recheck option to rerun configure.
#
EOF
@@ -1262,7 +1276,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
if cmp -s $cache_file confcache; then
:
else
-@@ -2350,7 +2502,7 @@
+@@ -2350,7 +2503,7 @@
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
@@ -1271,7 +1285,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
-@@ -2439,20 +2591,56 @@
+@@ -2439,20 +2592,56 @@
CEOF
EOF
@@ -1331,7 +1345,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
-@@ -2476,6 +2664,7 @@
+@@ -2476,6 +2665,7 @@
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
@@ -1339,7 +1353,7 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
-@@ -2484,15 +2673,21 @@
+@@ -2484,15 +2674,21 @@
# $configure_input" ;;
*) ac_comsub= ;;
esac
@@ -1363,241 +1377,3 @@ $NetBSD: patch-aa,v 1.3 1998/08/07 11:10:05 agc Exp $
exit 0
EOF
---- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/configure.in Fri Jun 21 08:36:47 1996
-+++ configure.in Wed Nov 19 15:53:36 1997
-@@ -225,8 +225,13 @@
- V_LIB="$V_LIB -lipc"
- ;;
- *-*-netbsd*)
-+ V_STATIC=""
- V_TARCMD="tar -h -c -f"
-- V_LIB="$V_LIB -L/usr/local/lib"
-+ V_LIB="$V_LIB -L/usr/pkg/lib"
-+ V_SHM=""
-+ ;;
-+*-*-freebsd*)
-+ V_STATIC=""
- ;;
- *-*-hpux*)
- V_CCOPT="-O"
---- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/configure.in.tk Thu May 16 10:06:05 1996
-+++ configure.in.tk Wed Nov 19 15:45:22 1997
-@@ -7,13 +7,13 @@
- echo "'$d' is not a directory"
- exit 1
- fi
-- V_INCLUDE_TCL=-I$d/include
-- if test ! -r $d/include/tcl.h ; then
-- echo "can't find tcl.h in $d/include"
-+ V_INCLUDE_TCL=-I$d
-+ if test ! -r $d/tcl.h ; then
-+ echo "can't find tcl.h in $d"
- exit 1
- fi
-- places="$d/lib/libtcl7.5.so \
-- $d/lib/libtcl7.5.a \
-+ places="$d/lib/libtcl8.0.so \
-+ $d/lib/libtcl8.0.a \
- $d/lib/libtcl.so \
- $d/lib/libtcl.a"
- V_LIB_TCL=FAIL
-@@ -27,7 +27,7 @@
- echo "can't find libtcl.a in $d/lib"
- exit 1
- fi
-- places="$d/lib/tcl7.5 \
-+ places="$d/lib/tcl8.0 \
- $d/lib/tcl"
- V_LIBRARY_TCL=FAIL
- for dir in $places; do
-@@ -44,13 +44,16 @@
- AC_TEST_CPP([#include <tcl.h>], V_INCLUDE_TCL="", V_INCLUDE_TCL=FAIL)
- if test "$V_INCLUDE_TCL" = FAIL; then
- echo "checking for tcl.h"
-- places="$PWD/../tcl7.5 \
-- /usr/src/local/tcl7.5 \
-- /import/tcl/include/tcl7.5 \
-+ places="$PWD/../tcl8.0 \
-+ /usr/src/local/tcl8.0 \
-+ /import/tcl/include/tcl8.0 \
- $prefix/include \
- $x_includes/tk \
- $x_includes \
-+ /usr/pkg/include \
-+ /usr/pkg/include/tcl8.0 \
- /usr/local/include \
-+ /usr/local/include/tcl8.0 \
- /usr/contrib/include \
- /usr/include"
- for dir in $places; do
-@@ -64,22 +67,23 @@
- exit 1
- fi
- fi
-- AC_CHECK_LIB(tcl7.5, main, V_LIB_TCL="-ltcl7.5", V_LIB_TCL="FAIL")
-+ AC_CHECK_LIB(tcl80, main, V_LIB_TCL="-ltcl80", V_LIB_TCL="FAIL")
- if test "$V_LIB_TCL" = FAIL; then
- echo "checking for libtcl.a"
- places="\
- $prefix/lib \
- $x_libraries \
-+ /usr/pkg/lib \
- /usr/contrib/lib \
- /usr/local/lib \
- /usr/lib \
-- $PWD/../tcl7.5 \
-- /usr/src/local/tcl7.5 \
-- /import/tcl/lib/tcl7.5 \
-+ $PWD/../tcl8.0 \
-+ /usr/src/local/tcl8.0 \
-+ /import/tcl/lib/tcl8.0 \
- "
- for dir in $places; do
-- if test -r $dir/libtcl7.5.so -o -r $dir/libtcl7.5.a; then
-- V_LIB_TCL="-L$dir -ltcl7.5"
-+ if test -r $dir/libtcl80.so -o -r $dir/libtcl80.a; then
-+ V_LIB_TCL="-L$dir -ltcl80"
- break
- fi
- if test -r $dir/libtcl.so -o -r $dir/libtcl.a; then
-@@ -98,13 +102,14 @@
- fi
- echo "checking for tcl/init.tcl"
- V_LIBRARY_TCL=FAIL
-- places="/usr/local/lib/tcl7.5 \
-- /usr/contrib/lib/tcl7.5 \
-- /usr/lib/tcl7.5 \
-- /usr/lib/tk/tcl7.5 \
-- /import/tcl/lib/tcl7.5 \
-- $prefix/lib/tcl7.5 \
-- $x_libraries/tcl7.5 \
-+ places="/usr/local/lib/tcl8.0 \
-+ /usr/pkg/lib/tcl8.0 \
-+ /usr/contrib/lib/tcl8.0 \
-+ /usr/lib/tcl8.0 \
-+ /usr/lib/tk/tcl8.0 \
-+ /import/tcl/lib/tcl8.0 \
-+ $prefix/lib/tcl8.0 \
-+ $x_libraries/tcl8.0 \
- /usr/local/lib/tcl \
- /usr/lib/tcl \
- /usr/lib/tk/tcl \
-@@ -133,13 +138,13 @@
- echo "'$d' is not a directory"
- exit 1
- fi
-- V_INCLUDE_TK=-I$d/include
-- if test ! -r $d/include/tk.h ; then
-- echo "can't find tk.h in $d/include"
-+ V_INCLUDE_TK=-I$d
-+ if test ! -r $d/tk.h ; then
-+ echo "can't find tk.h in $d"
- exit 1
- fi
-- places="$d/lib/libtk4.1.so \
-- $d/lib/libtk4.1.a \
-+ places="$d/lib/libtk8.0.so \
-+ $d/lib/libtk8.0.a \
- $d/lib/libtk.so \
- $d/lib/libtk.a"
- V_LIB_TK=FAIL
-@@ -153,7 +158,7 @@
- echo "can't find libtk.a in $d/lib"
- exit 1
- fi
-- places="$d/lib/tk4.1 \
-+ places="$d/lib/tk8.0 \
- $d/lib/tk"
- V_LIBRARY_TK=FAIL
- for dir in $places; do
-@@ -170,18 +175,21 @@
- AC_TEST_CPP([#include <tk.h>], V_INCLUDE_TK="", V_INCLUDE_TK=FAIL)
- if test "$V_INCLUDE_TK" = FAIL; then
- echo "checking for tk.h"
-- V_INCLUDE_TK=""
-+ V_INCLUDE_TK="FAIL"
- places="\
- $prefix/include \
-+ /usr/pkg/include \
-+ /usr/pkg/include/tk8.0 \
- /usr/local/include \
-+ /usr/local/include/tk8.0 \
- /usr/contrib/include \
- /usr/include/tcl \
- /usr/include\
- $x_includes/tk \
- $x_includes \
-- $PWD/../tk4.1 \
-- /usr/src/local/tk4.1 \
-- /import/tcl/include/tk4.1 \
-+ $PWD/../tk8.0 \
-+ /usr/src/local/tk8.0 \
-+ /import/tcl/include/tk8.0 \
- "
- for dir in $places; do
- if test -r $dir/tk.h ; then
-@@ -194,21 +202,22 @@
- exit 1
- fi
- fi
-- AC_CHECK_LIB(tk4.1, main, V_LIB_TK="-ltk4.1", V_LIB_TK="FAIL")
-+ AC_CHECK_LIB(tk80, main, V_LIB_TK="-ltk80", V_LIB_TK="FAIL")
- if test "$V_LIB_TK" = FAIL; then
- echo "checking for libtk.a"
- places="/usr/local/lib \
-+ /usr/pkg/lib \
- /usr/contrib/lib \
- /usr/lib \
- /usr/lib/tk \
- /import/tcl/lib \
-- $PWD/../tk4.1 \
-- /usr/src/local/tk4.1 \
-+ $PWD/../tk8.0 \
-+ /usr/src/local/tk8.0 \
- $prefix/lib \
- $x_libraries"
- for dir in $places; do
-- if test -r $dir/libtk4.1.so -o -r $dir/libtk4.1.a; then
-- V_LIB_TK="-L$dir -ltk4.1"
-+ if test -r $dir/libtk80.so -o -r $dir/libtk80.a; then
-+ V_LIB_TK="-L$dir -ltk80"
- break
- fi
- if test -r $dir/libtk.so -o -r $dir/libtk.a; then
-@@ -227,15 +236,16 @@
- fi
- echo "checking for tk/tk.tcl"
- V_LIBRARY_TK=FAIL
-- places="/usr/local/lib/tk4.1 \
-- /usr/contrib/lib/tk4.1 \
-- /usr/lib/tk4.1 \
-- /usr/lib/tk/tk4.1 \
-- /import/tcl/lib/tk4.1 \
-- $prefix/lib/tk4.1 \
-- $x_libraries/tk4.1 \
-- $PWD/../tk4.1/library \
-- /usr/src/local/tk4.1/library \
-+ places="/usr/local/lib/tk8.0 \
-+ /usr/pkg/lib/tk8.0 \
-+ /usr/contrib/lib/tk8.0 \
-+ /usr/lib/tk8.0 \
-+ /usr/lib/tk/tk8.0 \
-+ /import/tcl/lib/tk8.0 \
-+ $prefix/lib/tk8.0 \
-+ $x_libraries/tk8.0 \
-+ $PWD/../tk8.0/library \
-+ /usr/src/local/tk8.0/library \
- /usr/local/lib/tk \
- /usr/lib/tk \
- /usr/lib/tk/tk \
---- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/Makefile.in Mon Jul 22 18:32:53 1996
-+++ Makefile.in Tue Nov 18 13:16:25 1997
-@@ -303,7 +303,7 @@
- chown bin @prefix@/bin/vic
- chgrp bin @prefix@/bin/vic
- chmod 555 @prefix@/bin/vic
-- cp vic.1 @prefix@/man/vic.1
-+ cp vic.1 @prefix@/man/man1/vic.1
- cp histtolut @prefix@/bin/histtolut
- chown bin @prefix@/bin/histtolut
- chgrp bin @prefix@/bin/histtolut
diff --git a/mbone/vic/patches/patch-ag b/mbone/vic/patches/patch-ag
new file mode 100644
index 00000000000..d43396c94cf
--- /dev/null
+++ b/mbone/vic/patches/patch-ag
@@ -0,0 +1,240 @@
+$NetBSD: patch-ag,v 1.1 1998/11/24 07:56:07 hubertf Exp $
+
+--- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/configure.in Fri Jun 21 08:36:47 1996
++++ configure.in Wed Nov 19 15:53:36 1997
+@@ -225,8 +225,13 @@
+ V_LIB="$V_LIB -lipc"
+ ;;
+ *-*-netbsd*)
++ V_STATIC=""
+ V_TARCMD="tar -h -c -f"
+- V_LIB="$V_LIB -L/usr/local/lib"
++ V_LIB="$V_LIB -L/usr/pkg/lib"
++ V_SHM=""
++ ;;
++*-*-freebsd*)
++ V_STATIC=""
+ ;;
+ *-*-hpux*)
+ V_CCOPT="-O"
+--- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/configure.in.tk Thu May 16 10:06:05 1996
++++ configure.in.tk Wed Nov 19 15:45:22 1997
+@@ -7,13 +7,13 @@
+ echo "'$d' is not a directory"
+ exit 1
+ fi
+- V_INCLUDE_TCL=-I$d/include
+- if test ! -r $d/include/tcl.h ; then
+- echo "can't find tcl.h in $d/include"
++ V_INCLUDE_TCL=-I$d
++ if test ! -r $d/tcl.h ; then
++ echo "can't find tcl.h in $d"
+ exit 1
+ fi
+- places="$d/lib/libtcl7.5.so \
+- $d/lib/libtcl7.5.a \
++ places="$d/lib/libtcl8.0.so \
++ $d/lib/libtcl8.0.a \
+ $d/lib/libtcl.so \
+ $d/lib/libtcl.a"
+ V_LIB_TCL=FAIL
+@@ -27,7 +27,7 @@
+ echo "can't find libtcl.a in $d/lib"
+ exit 1
+ fi
+- places="$d/lib/tcl7.5 \
++ places="$d/lib/tcl8.0 \
+ $d/lib/tcl"
+ V_LIBRARY_TCL=FAIL
+ for dir in $places; do
+@@ -44,13 +44,16 @@
+ AC_TEST_CPP([#include <tcl.h>], V_INCLUDE_TCL="", V_INCLUDE_TCL=FAIL)
+ if test "$V_INCLUDE_TCL" = FAIL; then
+ echo "checking for tcl.h"
+- places="$PWD/../tcl7.5 \
+- /usr/src/local/tcl7.5 \
+- /import/tcl/include/tcl7.5 \
++ places="$PWD/../tcl8.0 \
++ /usr/src/local/tcl8.0 \
++ /import/tcl/include/tcl8.0 \
+ $prefix/include \
+ $x_includes/tk \
+ $x_includes \
++ /usr/pkg/include \
++ /usr/pkg/include/tcl8.0 \
+ /usr/local/include \
++ /usr/local/include/tcl8.0 \
+ /usr/contrib/include \
+ /usr/include"
+ for dir in $places; do
+@@ -64,22 +67,23 @@
+ exit 1
+ fi
+ fi
+- AC_CHECK_LIB(tcl7.5, main, V_LIB_TCL="-ltcl7.5", V_LIB_TCL="FAIL")
++ AC_CHECK_LIB(tcl80, main, V_LIB_TCL="-ltcl80", V_LIB_TCL="FAIL")
+ if test "$V_LIB_TCL" = FAIL; then
+ echo "checking for libtcl.a"
+ places="\
+ $prefix/lib \
+ $x_libraries \
++ /usr/pkg/lib \
+ /usr/contrib/lib \
+ /usr/local/lib \
+ /usr/lib \
+- $PWD/../tcl7.5 \
+- /usr/src/local/tcl7.5 \
+- /import/tcl/lib/tcl7.5 \
++ $PWD/../tcl8.0 \
++ /usr/src/local/tcl8.0 \
++ /import/tcl/lib/tcl8.0 \
+ "
+ for dir in $places; do
+- if test -r $dir/libtcl7.5.so -o -r $dir/libtcl7.5.a; then
+- V_LIB_TCL="-L$dir -ltcl7.5"
++ if test -r $dir/libtcl80.so -o -r $dir/libtcl80.a; then
++ V_LIB_TCL="-L$dir -ltcl80"
+ break
+ fi
+ if test -r $dir/libtcl.so -o -r $dir/libtcl.a; then
+@@ -98,13 +102,14 @@
+ fi
+ echo "checking for tcl/init.tcl"
+ V_LIBRARY_TCL=FAIL
+- places="/usr/local/lib/tcl7.5 \
+- /usr/contrib/lib/tcl7.5 \
+- /usr/lib/tcl7.5 \
+- /usr/lib/tk/tcl7.5 \
+- /import/tcl/lib/tcl7.5 \
+- $prefix/lib/tcl7.5 \
+- $x_libraries/tcl7.5 \
++ places="/usr/local/lib/tcl8.0 \
++ /usr/pkg/lib/tcl8.0 \
++ /usr/contrib/lib/tcl8.0 \
++ /usr/lib/tcl8.0 \
++ /usr/lib/tk/tcl8.0 \
++ /import/tcl/lib/tcl8.0 \
++ $prefix/lib/tcl8.0 \
++ $x_libraries/tcl8.0 \
+ /usr/local/lib/tcl \
+ /usr/lib/tcl \
+ /usr/lib/tk/tcl \
+@@ -133,13 +138,13 @@
+ echo "'$d' is not a directory"
+ exit 1
+ fi
+- V_INCLUDE_TK=-I$d/include
+- if test ! -r $d/include/tk.h ; then
+- echo "can't find tk.h in $d/include"
++ V_INCLUDE_TK=-I$d
++ if test ! -r $d/tk.h ; then
++ echo "can't find tk.h in $d"
+ exit 1
+ fi
+- places="$d/lib/libtk4.1.so \
+- $d/lib/libtk4.1.a \
++ places="$d/lib/libtk8.0.so \
++ $d/lib/libtk8.0.a \
+ $d/lib/libtk.so \
+ $d/lib/libtk.a"
+ V_LIB_TK=FAIL
+@@ -153,7 +158,7 @@
+ echo "can't find libtk.a in $d/lib"
+ exit 1
+ fi
+- places="$d/lib/tk4.1 \
++ places="$d/lib/tk8.0 \
+ $d/lib/tk"
+ V_LIBRARY_TK=FAIL
+ for dir in $places; do
+@@ -170,18 +175,21 @@
+ AC_TEST_CPP([#include <tk.h>], V_INCLUDE_TK="", V_INCLUDE_TK=FAIL)
+ if test "$V_INCLUDE_TK" = FAIL; then
+ echo "checking for tk.h"
+- V_INCLUDE_TK=""
++ V_INCLUDE_TK="FAIL"
+ places="\
+ $prefix/include \
++ /usr/pkg/include \
++ /usr/pkg/include/tk8.0 \
+ /usr/local/include \
++ /usr/local/include/tk8.0 \
+ /usr/contrib/include \
+ /usr/include/tcl \
+ /usr/include\
+ $x_includes/tk \
+ $x_includes \
+- $PWD/../tk4.1 \
+- /usr/src/local/tk4.1 \
+- /import/tcl/include/tk4.1 \
++ $PWD/../tk8.0 \
++ /usr/src/local/tk8.0 \
++ /import/tcl/include/tk8.0 \
+ "
+ for dir in $places; do
+ if test -r $dir/tk.h ; then
+@@ -194,21 +202,22 @@
+ exit 1
+ fi
+ fi
+- AC_CHECK_LIB(tk4.1, main, V_LIB_TK="-ltk4.1", V_LIB_TK="FAIL")
++ AC_CHECK_LIB(tk80, main, V_LIB_TK="-ltk80", V_LIB_TK="FAIL")
+ if test "$V_LIB_TK" = FAIL; then
+ echo "checking for libtk.a"
+ places="/usr/local/lib \
++ /usr/pkg/lib \
+ /usr/contrib/lib \
+ /usr/lib \
+ /usr/lib/tk \
+ /import/tcl/lib \
+- $PWD/../tk4.1 \
+- /usr/src/local/tk4.1 \
++ $PWD/../tk8.0 \
++ /usr/src/local/tk8.0 \
+ $prefix/lib \
+ $x_libraries"
+ for dir in $places; do
+- if test -r $dir/libtk4.1.so -o -r $dir/libtk4.1.a; then
+- V_LIB_TK="-L$dir -ltk4.1"
++ if test -r $dir/libtk80.so -o -r $dir/libtk80.a; then
++ V_LIB_TK="-L$dir -ltk80"
+ break
+ fi
+ if test -r $dir/libtk.so -o -r $dir/libtk.a; then
+@@ -227,15 +236,16 @@
+ fi
+ echo "checking for tk/tk.tcl"
+ V_LIBRARY_TK=FAIL
+- places="/usr/local/lib/tk4.1 \
+- /usr/contrib/lib/tk4.1 \
+- /usr/lib/tk4.1 \
+- /usr/lib/tk/tk4.1 \
+- /import/tcl/lib/tk4.1 \
+- $prefix/lib/tk4.1 \
+- $x_libraries/tk4.1 \
+- $PWD/../tk4.1/library \
+- /usr/src/local/tk4.1/library \
++ places="/usr/local/lib/tk8.0 \
++ /usr/pkg/lib/tk8.0 \
++ /usr/contrib/lib/tk8.0 \
++ /usr/lib/tk8.0 \
++ /usr/lib/tk/tk8.0 \
++ /import/tcl/lib/tk8.0 \
++ $prefix/lib/tk8.0 \
++ $x_libraries/tk8.0 \
++ $PWD/../tk8.0/library \
++ /usr/src/local/tk8.0/library \
+ /usr/local/lib/tk \
+ /usr/lib/tk \
+ /usr/lib/tk/tk \
+--- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/Makefile.in Mon Jul 22 18:32:53 1996
++++ Makefile.in Tue Nov 18 13:16:25 1997
+@@ -303,7 +303,7 @@
+ chown bin @prefix@/bin/vic
+ chgrp bin @prefix@/bin/vic
+ chmod 555 @prefix@/bin/vic
+- cp vic.1 @prefix@/man/vic.1
++ cp vic.1 @prefix@/man/man1/vic.1
+ cp histtolut @prefix@/bin/histtolut
+ chown bin @prefix@/bin/histtolut
+ chgrp bin @prefix@/bin/histtolut