Date: Mon, 5 Jan 2009 15:10:49 +0100 (CET) From: Martin Matuska <mm@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130187: [PATCH] irc/xchat switch to USE_TCL Message-ID: <20090105141049.023184AC2C@mail.vx.sk> Resent-Message-ID: <200901051420.n05EK09w048307@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130187 >Category: ports >Synopsis: [PATCH] irc/xchat switch to USE_TCL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 05 14:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: RebuM >Release: FreeBSD 7.1-RELEASE i386/amd64 >Organization: >Environment: System: FreeBSD 7.1-RELEASE i386/amd64 >Description: - switch to USE_TCL infrastructure - add support for tcl85 >How-To-Repeat: >Fix: Index: ports/irc/xchat/Makefile =================================================================== RCS file: /home/pcvs/ports/irc/xchat/Makefile,v retrieving revision 1.140 diff -u -r1.140 Makefile --- ports/irc/xchat/Makefile 4 Aug 2008 02:46:24 -0000 1.140 +++ ports/irc/xchat/Makefile 5 Jan 2009 14:09:35 -0000 @@ -8,7 +8,7 @@ PORTNAME= xchat PORTVERSION= 2.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc gnome ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ @@ -96,12 +96,13 @@ .endif .if defined(WITH_TCL) -LIB_DEPENDS+= tcl84.1:${PORTSDIR}/lang/tcl84 -CONFIGURE_ARGS+=--enable-tcl=${LOCALBASE}/lib/tcl8.4 +USE_TCL= 84+ +.include "${PORTSDIR}/Mk/bsd.tcl.mk" +CONFIGURE_ARGS+=--enable-tcl=${TCL_LIBDIR} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \ - -I${LOCALBASE}/include/tcl8.4" \ + -I${TCL_INCLUDEDIR}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \ - -L${LOCALBASE}/lib/tcl8.4" + -L${TCL_LIBDIR}" PLIST_SUB+= TCL="" .else CONFIGURE_ARGS+=--enable-tcl=no >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090105141049.023184AC2C>