summaryrefslogtreecommitdiff
path: root/cad/tkgate/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-06-08 17:52:22 +0000
committerjmmv <jmmv@pkgsrc.org>2004-06-08 17:52:22 +0000
commitdab4925e21f3405cf504bcedb4aea7f8e43162db (patch)
treecb839be2255243f86460b33d6fc315dd33ee10e4 /cad/tkgate/patches
parent0d05a89c88f24597591d17b65d0ed60649735982 (diff)
downloadpkgsrc-dab4925e21f3405cf504bcedb4aea7f8e43162db.tar.gz
Fix build. The main binary was not beeing built properly because of missing
library dependencies (caused by the tcl/tk update to 8.4). Use tclConfig.sh to determine which libraries are really needed. Noted in last kristerw@'s bulk build.
Diffstat (limited to 'cad/tkgate/patches')
-rw-r--r--cad/tkgate/patches/patch-ab22
1 files changed, 17 insertions, 5 deletions
diff --git a/cad/tkgate/patches/patch-ab b/cad/tkgate/patches/patch-ab
index 86a79b5ee2a..bca284369bb 100644
--- a/cad/tkgate/patches/patch-ab
+++ b/cad/tkgate/patches/patch-ab
@@ -1,13 +1,25 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/10/29 00:33:46 dmcmahill Exp $
+$NetBSD: patch-ab,v 1.2 2004/06/08 17:52:22 jmmv Exp $
---- configure.orig Mon Oct 28 23:11:21 2002
-+++ configure Mon Oct 28 23:11:43 2002
-@@ -70,7 +70,7 @@
+--- configure.orig 2001-06-11 22:44:36.000000000 +0200
++++ configure
+@@ -70,7 +70,7 @@ done
#
LPATH=""
IPATH=""
-LIBS=""
-+LIBS="-lm ${BUILDLINK_LDFLAGS}"
++LIBS="${BUILDLINK_LDFLAGS}"
TCLTKOK=1
##################################################################
+@@ -453,6 +453,11 @@ find_tcltk_version()
+ union LIBS -l$tcl_lib
+ union LPATH -L$TCLLIB
+
++ . ${PREFIX}/lib/tclConfig.sh
++ for l in ${TCL_LIBS}; do
++ union LIBS ${l}
++ done
++
+ echo "Tcl/Tk Version: $tcltk_ver"
+ else
+ echo "Tcl/Tk Version: not found"