summaryrefslogtreecommitdiff
path: root/lang/otcl/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-07-31 21:03:29 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-07-31 21:03:29 +0000
commitcd70c2c96a0e21a08bf7d1f69e074985da0b9381 (patch)
tree3d862708906e5aba5913774424ad35303fcce47e /lang/otcl/Makefile
parentUpdate to 2.2.39 (diff)
- Add USE_XORG=xext
- Add xorg-related CONFIGURE_ARGS - Bump PORTREVISION Approved by: garga (mentor, implicit)
Notes
Notes: svn path=/head/; revision=196858
Diffstat (limited to 'lang/otcl/Makefile')
-rw-r--r--lang/otcl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile
index b9f23f7a2c2d..e6dc0a1e7831 100644
--- a/lang/otcl/Makefile
+++ b/lang/otcl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= otcl
PORTVERSION= 1.13
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= src-
CATEGORIES= lang tcl84 tk84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -20,6 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_TK= 80+
USE_TK_NO_THREADS= yes
+USE_XORG= xext
USE_AUTOTOOLS= autoconf:259
USE_LDCONFIG= yes
@@ -34,7 +35,8 @@ PORTDOCS= ${DOCS:S/doc\///}
.include <bsd.port.pre.mk>
CFLAGS+= -DHAVE_UNISTD_H
-CONFIGURE_ARGS+= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER}
+CONFIGURE_ARGS+= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} \
+ --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \