aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-11-30 10:57:56 +0800
committerrafan <rafan@FreeBSD.org>2006-11-30 10:57:56 +0800
commit10f273353f5078b6242cafec1b56bfc092122642 (patch)
tree05fc5c3508058933d70dfce1ba541647d85ade9f /cad
parentbd5a064f32df0eb21148d751e52cf9a9eee9ebd9 (diff)
downloadfreebsd-ports-gnome-10f273353f5078b6242cafec1b56bfc092122642.tar.gz
freebsd-ports-gnome-10f273353f5078b6242cafec1b56bfc092122642.tar.zst
freebsd-ports-gnome-10f273353f5078b6242cafec1b56bfc092122642.zip
- Respect X11BASE [1]
- The configure script is not generated from autotools, thus use HAS_CONFIGURE instead Reported by: pointyhat [1]
Diffstat (limited to 'cad')
-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>