1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- convert for USE_TK, USE_TCL

This commit is contained in:
Dirk Meyer 2009-02-22 16:23:29 +00:00
parent 3eff8b60bb
commit af0745521e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228833
2 changed files with 7 additions and 10 deletions

View File

@ -18,11 +18,11 @@ PATCHFILES= ${PORTNAME}-${PORTVERSION}.patch.gz
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Spread sheet for X Window System
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \
tk82.1:${PORTSDIR}/x11-toolkits/tk82
USE_GMAKE= yes
USE_XORG= x11
USE_TK= 82
USE_TCL= 82
MAKE_ENV= LDFLAGS="${LDFLAGS}"
CFLAGS+= -I$(LOCALBASE)/include \
-I$(LOCALBASE)/include/tcl8.2 \

View File

@ -19,17 +19,14 @@ COMMENT= An X11 interface to Internet Relay Chat
# zircon will start with tk84, but a lot of functions won't work
# a lot of variable names conflicts with new functions.
.if defined(ZIRCON_WITH_TCL84) || defined(ZIRCON_WITH_TK84)
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
USE_TK= 84
USE_TCL= 84
.else
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
USE_TK= 83
USE_TCL= 83
.endif
NO_BUILD= yes
.if defined(ZIRCON_WITH_TCL84) || defined(ZIRCON_WITH_TK84)
TCL_VER= 8.4
.else
TCL_VER= 8.3
.endif
do-configure:
${REINPLACE_CMD} -e 's=%%WISH%%=wish${TCL_VER}=' \