From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 16 16:50:11 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4A3316A40D for ; Fri, 16 Mar 2007 16:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5594A13C4C8 for ; Fri, 16 Mar 2007 16:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2GGo9Mo071438 for ; Fri, 16 Mar 2007 16:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2GGo9n1071437; Fri, 16 Mar 2007 16:50:09 GMT (envelope-from gnats) Resent-Date: Fri, 16 Mar 2007 16:50:09 GMT Resent-Message-Id: <200703161650.l2GGo9n1071437@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Matuska Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B3E016A400 for ; Fri, 16 Mar 2007 16:47:43 +0000 (UTC) (envelope-from rebum@mail.vx.sk) Received: from mail.vx.sk (neo.vx.sk [88.198.35.14]) by mx1.freebsd.org (Postfix) with ESMTP id 61F5413C44B for ; Fri, 16 Mar 2007 16:47:43 +0000 (UTC) (envelope-from rebum@mail.vx.sk) Received: from localhost (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id AC0E63F44A for ; Fri, 16 Mar 2007 17:47:42 +0100 (CET) Received: from mail.vx.sk ([127.0.0.1]) by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JM5H3qxQRKno for ; Fri, 16 Mar 2007 17:47:34 +0100 (CET) Received: by mail.vx.sk (Postfix, from userid 1001) id A1F9A3F441; Fri, 16 Mar 2007 17:47:34 +0100 (CET) Message-Id: <20070316164734.A1F9A3F441@mail.vx.sk> Date: Fri, 16 Mar 2007 17:47:34 +0100 (CET) From: Martin Matuska To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/110405: [MAINTAINER] www/tdom X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Matuska List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 16:50:12 -0000 >Number: 110405 >Category: ports >Synopsis: [MAINTAINER] www/tdom >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Mar 16 16:50:07 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Matuska >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD 6.2-RELEASE i386 amd64 >Description: Added support for the new tcl threads structure. >How-To-Repeat: >Fix: diff -Nbur www/tdom.orig/Makefile www/tdom/Makefile --- www/tdom.orig/Makefile Thu Mar 1 14:15:59 2007 +++ www/tdom/Makefile Fri Mar 16 17:24:33 2007 @@ -7,10 +7,9 @@ PORTNAME= tDOM PORTVERSION= 0.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.tdom.org/files/ -PKGNAMESUFFIX?= -threads MAINTAINER= martin@matuska.org COMMENT= High performance XML data processing with Tcl (ARGS for OpenACS) @@ -25,8 +24,7 @@ .endif # by default we want a threaded build -USE_TCL= ${USE_TCL_VER}-thread -USE_TCL_BUILD= ${USE_TCL_VER}-thread +LIB_DEPENDS= tcl${USE_TCL_VER}-threads:${PORTSDIR}/lang/tcl${USE_TCL_VER}-thread USE_GMAKE= yes HAS_CONFIGURE= yes @@ -46,29 +44,9 @@ .include -.if exists(${TCLSH}) -_TCL_IS_THREADED!= ${ECHO_CMD} 'puts [array names tcl_platform -exact threaded]' | ${TCLSH} || return 0 -. if empty(_TCL_IS_THREADED) -# Check if a threaded build is forced -. if defined(TCL_WITH_THREADS) || defined(WITH_THREADS) -IGNORE= tcl with threads is required. Please install tcl with WITH_THREADS defined or from lang/tcl${USE_TCL} port and try again -. else -# Installed tcl is not threaded, so set correct dependencies -CONFIGURE_ARGS+= --disable-threads -PKGNAMESUFFIX= -USE_TCL=${USE_TCL_VER} -USE_TCL_BUILD=${USE_TCL_VER} -.include "${PORTSDIR}/Mk/bsd.tcl.mk" -. endif -. else -CONFIGURE_ARGS+= --enable-threads -. endif -.else -CONFIGURE_ARGS+= --enable-threads -.endif - -CONFIGURE_ARGS+= -disable-tdomalloc --with-tcl=${TCL_LIBDIR} \ - --with-tclinclude=${TCL_INCLUDEDIR} --prefix=${PREFIX} +CONFIGURE_ARGS+= --enable-threads --disable-tdomalloc \ + --with-tcl=${LOCALBASE}/lib/tcl${USE_TCL_VER:S/8/8./}-threads \ + --with-tclinclude=${LOCALBASE}/include/tcl${USE_TCL_VER:S/8/8./} --prefix=${PREFIX} post-install: .if !defined(NOPORTDOCS) >Release-Note: >Audit-Trail: >Unformatted: