From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 11 01:41:38 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17F82106580C for ; Thu, 11 Feb 2010 01:41:38 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D22B28FC21 for ; Thu, 11 Feb 2010 01:41:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1B1fM05059913 for ; Thu, 11 Feb 2010 01:41:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1B1fM5H059906; Thu, 11 Feb 2010 01:41:22 GMT (envelope-from gnats) Resent-Date: Thu, 11 Feb 2010 01:41:22 GMT Resent-Message-Id: <201002110141.o1B1fM5H059906@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, Dan Lukes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA23B10656D5 for ; Wed, 10 Feb 2010 22:49:51 +0000 (UTC) (envelope-from dan+master7.ms.mff.cuni.cz@ms.mff.cuni.cz) Received: from master7.ms.mff.cuni.cz (master7.ms.mff.cuni.cz [195.113.20.22]) by mx1.freebsd.org (Postfix) with ESMTP id 6BCAE8FC18 for ; Wed, 10 Feb 2010 22:49:50 +0000 (UTC) Received: from master7.ms.mff.cuni.cz (localhost [127.0.0.1]) by master7.ms.mff.cuni.cz (8.14.3/8.14.3) with ESMTP id o1AMnnbQ031353 for ; Wed, 10 Feb 2010 23:49:49 +0100 (CET) (envelope-from dan@master7.ms.mff.cuni.cz) Received: (from root@localhost) by master7.ms.mff.cuni.cz (8.14.3/8.14.3/Submit) id o1AMnnuh031352; Wed, 10 Feb 2010 23:49:49 +0100 (CET) (envelope-from dan) Message-Id: <201002102249.o1AMnnuh031352@master7.ms.mff.cuni.cz> Date: Wed, 10 Feb 2010 23:49:49 +0100 (CET) From: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143740: [ PATCH ] better cooperation between databases/postgresql-pltcl and lang/tcl* X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 01:41:38 -0000 >Number: 143740 >Category: ports >Synopsis: [ PATCH ] better cooperation between databases/postgresql-pltcl and lang/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: Thu Feb 11 01:41:19 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 7.2-RELEASE-p6 i386 >Organization: Obludarium >Environment: databases/postgresql-pltcl/Makefile,v 1.20 2008/06/06 13:17:01 >Description: current port has hardcoded dependency to tcl 8.4 unless overrided by user intervention proposed patch changes default dependency to the already installed version of tcl unless overriden by user (so backward compatibility is maintained) >How-To-Repeat: N/A >Fix: --- Makefile.orig 2010-02-10 23:37:53.000000000 +0100 +++ Makefile 2010-02-10 23:39:05.000000000 +0100 @@ -35,7 +35,12 @@ .endif # you can use "make TCLVERSION=8.4" or similar for your favourite tcl version -TCLVERSION?= 8.4 +.ifndef TCLVERSION +TCLVERSION!= cd ${.CURDIR}/../../lang/tcl-wrapper ; ${MAKE} -V TCL_VER +.if ${TCLVERSION} == "" +TCLVERSION= 8.4 +.endif +.endif CONFIGURE_ARGS= --with-tcl --without-tk \ --with-tclconfig="${TCLCONFIG}" \ --with-includes="${TCL_INCDIR}" >Release-Note: >Audit-Trail: >Unformatted: