ports/143740: [ PATCH ] better cooperation between databases/postgresql-pltcl and lang/tcl*

Dan Lukes dan at obluda.cz
Thu Feb 11 01:41:38 UTC 2010


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



More information about the freebsd-ports-bugs mailing list