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:
parent
3eff8b60bb
commit
af0745521e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228833
@ -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 \
|
||||
|
@ -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}=' \
|
||||
|
Loading…
Reference in New Issue
Block a user