aboutsummaryrefslogtreecommitdiff
path: root/cad/tkgate
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-30 02:57:56 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-30 02:57:56 +0000
commitf8957b96280d44280937e6fe2759934ccd807628 (patch)
tree5ccd55d19e3e6108ced27ed61cdbb36890f942ca /cad/tkgate
parent209aabc97a87a69c7ab5f503fa8a94d4361610b7 (diff)
downloadports-f8957b96280d44280937e6fe2759934ccd807628.tar.gz
ports-f8957b96280d44280937e6fe2759934ccd807628.zip
Notes
Diffstat (limited to 'cad/tkgate')
-rw-r--r--cad/tkgate/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/cad/tkgate/Makefile b/cad/tkgate/Makefile
index 6f323b4fda98..7b3efb72cfed 100644
--- a/cad/tkgate/Makefile
+++ b/cad/tkgate/Makefile
@@ -19,10 +19,14 @@ LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= tclsh8.4:${PORTSDIR}/lang/tcl84
BUILD_DEPENDS= xmkmf:${X_IMAKE_PORT}
-GNU_CONFIGURE= yes
+HAS_CONFIGURE= yes
USE_BISON= yes
USE_X_PREFIX= yes
PLIST_SUB= VERSION=${PORTVERSION}
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/Imakefile ${WRKSRC}/config.h
+
.include <bsd.port.mk>