Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 23:49:49 +0100 (CET)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143740: [ PATCH ] better cooperation between databases/postgresql-pltcl and lang/tcl* 
Message-ID:  <201002102249.o1AMnnuh031352@master7.ms.mff.cuni.cz>
Resent-Message-ID: <201002110141.o1B1fM5H059906@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002102249.o1AMnnuh031352>