Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 16:35:43 +0200 (CEST)
From:      Martin@mail.vx.sk, "Matuska <martin"@matuska.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/103759: Simultaneous BUILD_DEPENDS and RUN_DEPENDS support for bsd.tcl.mk
Message-ID:  <20060928143543.B2AE93F9AB@mail.vx.sk>
Resent-Message-ID: <200609281440.k8SEeGLN047944@freefall.freebsd.org>

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

>Number:         103759
>Category:       ports
>Synopsis:       Simultaneous BUILD_DEPENDS and RUN_DEPENDS support for bsd.tcl.mk
>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 Sep 28 14:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD 6.1-RELEASE-p5 amd64/i386
>Description:
bsd.tcl.mk does not support simultaneous dependency on tcl on 
build and runtimes. Language extensions, e.g. xotcl (port I am writing) or
original mysqltcl require this.
>How-To-Repeat:
>Fix:


--- Mk/bsd.tcl.mk.orig	Thu Sep 28 16:27:00 2006
+++ Mk/bsd.tcl.mk	Thu Sep 28 16:30:30 2006
@@ -45,6 +45,10 @@
 
 _TCL_VERSIONS=	84 83 82 81 80
 
+.if defined(USE_TCL)
+_RUN=		yes
+.endif
+
 .if defined(USE_TCL_BUILD)
 USE_TCL=	${USE_TCL_BUILD}
 _BUILD=		yes
@@ -67,7 +71,8 @@
 _FOUND=		yes
 .  if defined(_BUILD)
 BUILD_DEPENDS+=	tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${USE_TCL}
-.  else
+.  endif
+.  if defined(_RUN)
 RUN_DEPENDS+=	tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${USE_TCL}
 .  endif
 TCL_INCLUDEDIR=	${LOCALBASE}/include/tcl${TCL_VER}
>Release-Note:
>Audit-Trail:
>Unformatted:



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