summaryrefslogtreecommitdiff
path: root/editors/vigor/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-01-22 02:35:44 +0000
committerminskim <minskim@pkgsrc.org>2005-01-22 02:35:44 +0000
commitb5eed9ced30fc76e1eae73ef148dbb74018028f9 (patch)
treedb052342ae9bfb931ba83b597e86498637fa1c1e /editors/vigor/patches
parent73b266bc54d407bffb02006c10ec4b4cd29f7d13 (diff)
downloadpkgsrc-b5eed9ced30fc76e1eae73ef148dbb74018028f9.tar.gz
Switch to Tcl/Tk-8.4.
Bump PKGREVISION due to dependency changes.
Diffstat (limited to 'editors/vigor/patches')
-rw-r--r--editors/vigor/patches/patch-ab34
-rw-r--r--editors/vigor/patches/patch-ac14
2 files changed, 29 insertions, 19 deletions
diff --git a/editors/vigor/patches/patch-ab b/editors/vigor/patches/patch-ab
index 7a95e73d4ad..a93f73e28fa 100644
--- a/editors/vigor/patches/patch-ab
+++ b/editors/vigor/patches/patch-ab
@@ -1,22 +1,18 @@
-$NetBSD: patch-ab,v 1.3 2001/11/15 23:40:34 hubertf Exp $
+$NetBSD: patch-ab,v 1.4 2005/01/22 02:35:44 minskim Exp $
---- configure.orig Wed May 3 04:27:53 2000
+--- configure.orig 2000-05-02 21:27:53.000000000 -0500
+++ configure
-@@ -1881,7 +1881,7 @@
- cat conftest.$ac_ext >&5
+@@ -1852,10 +1852,11 @@ else
+ echo "$ac_t""no" 1>&6
fi
- rm -f conftest*
--test "$ac_cv_search_Tcl_Init" = "no" && for i in tcl tcl82 tcl8.2 tcl80 tcl8.0; do
-+test "$ac_cv_search_Tcl_Init" = "no" && for i in tcl83 tcl tcl82 tcl8.2 tcl80 tcl8.0; do
- LIBS="-l$i $ac_func_search_save_LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 1888 "configure"
-@@ -1943,7 +1943,7 @@
- cat conftest.$ac_ext >&5
- fi
- rm -f conftest*
--test "$ac_cv_search_Tk_Init" = "no" && for i in tk tk82 tk8.2 tk80 tk8.0; do
-+test "$ac_cv_search_Tk_Init" = "no" && for i in tk83 tk tk82 tk8.2 tk80 tk8.0; do
- LIBS="-l$i $XLIBS $ac_func_search_save_LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 1950 "configure"
+
+-LIBS="$LIBS -lm"
++. $TCLCONFIG_SH
++LIBS="$LIBS $TCL_LIBS"
+
+ echo $ac_n "checking for library containing Tcl_Init""... $ac_c" 1>&6
+-echo "configure:1859: checking for library containing Tcl_Init" >&5
++echo "configure:1860: checking for library containing Tcl_Init" >&5
+ if eval "test \"`echo '$''{'ac_cv_search_Tcl_Init'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
diff --git a/editors/vigor/patches/patch-ac b/editors/vigor/patches/patch-ac
new file mode 100644
index 00000000000..bfed6885e26
--- /dev/null
+++ b/editors/vigor/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2005/01/22 02:35:44 minskim Exp $
+
+--- configure.in.orig 2000-05-02 21:27:52.000000000 -0500
++++ configure.in
+@@ -243,7 +243,8 @@ dnl Make sure we can find a Tcl/Tk inter
+ LIBOBJS="tcl.o $LIBOBJS"
+ dnl GNU/Linux Tcl requires -ldl
+ AC_CHECK_LIB(dl,dlopen)
+-LIBS="$LIBS -lm"
++. $TCLCONFIG_SH
++LIBS="$LIBS $TCL_LIBS"
+ AC_SEARCH_LIBS(Tcl_Init,tcl tcl82 tcl8.2 tcl80 tcl8.0,,dnl
+ AC_MSG_ERROR([Tcl is required for Vigor but could not be located.]))
+ AC_SEARCH_LIBS(Tk_Init,tk tk82 tk8.2 tk80 tk8.0,,dnl