summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
commitbc087374d35aa9c841dd63d44e9c9697702921ed (patch)
tree9bfffecdf0e79fc2f3af0e2a2f1044536ad164ca /cad
parentgcc 2.95 requires us to be explicit about the return type of functions. (diff)
Update to use Tcl/Tk version 8.2.
Submitted by: Ade Lovett <ade@lovett.com>
Notes
Notes: svn path=/head/; revision=23474
Diffstat (limited to 'cad')
-rw-r--r--cad/tkgate/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cad/tkgate/Makefile b/cad/tkgate/Makefile
index 8d8ac95cb063..4594518ad38f 100644
--- a/cad/tkgate/Makefile
+++ b/cad/tkgate/Makefile
@@ -13,12 +13,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= hansen@cmu.edu
-LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
+LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
VERSION= 0.9
PLIST_SUB+= VERSION=${VERSION}
USE_IMAKE= yes
+post-extract:
+ @(cd ${WRKSRC}; find . -name .depend -delete)
+
post-patch:
@${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/config.h
@${PERL} -pi -e 's:__LOCALBASE__:${LOCALBASE}:g' ${WRKSRC}/config.h