Add ONLY_FOR_ARCHS= i386 to the WITH_TCL case.

Submitted by:	eivind
This commit is contained in:
Tilman Keskinoz 2003-04-23 14:21:56 +00:00
parent e9a6767fba
commit 855732b11b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79516

View file

@ -66,13 +66,16 @@ CONFIGURE_ARGS+=--enable-sound
USE_IPV6= yes
CONFIGURE_ARGS+=--enable-ipv6
.endif
.if defined(WITH_TCL)
BUILD_DEPENDS+= ${LOCALBASE}/include/tcl8.3/tcl.h:${PORTSDIR}/lang/tcl83
CONFIGURE_ARGS+=--with-tcl \
--with-tcl-libs=${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3"
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3
ONLY_FOR_ARCHS= i386
.endif
.if defined(WITH_SOCKS5)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+= --with-socks5=${LOCALBASE}