ports/103760: [PATCH] Simultaneous BUILD_DEPENDS and RUN_DEPENDS for bsd.tcl.mk

Martin Matuska martin at matuska.org
Thu Sep 28 14:50:40 UTC 2006


>Number:         103760
>Category:       ports
>Synopsis:       [PATCH] Simultaneous BUILD_DEPENDS and RUN_DEPENDS 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:50:20 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:



More information about the freebsd-ports-bugs mailing list