Date: Thu, 28 Sep 2006 16:41:10 +0200 (CEST) From: Martin Matuska <martin@matuska.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/103760: [PATCH] Simultaneous BUILD_DEPENDS and RUN_DEPENDS for bsd.tcl.mk Message-ID: <20060928144110.824C53F99F@mail.vx.sk> Resent-Message-ID: <200609281450.k8SEoK6H048856@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060928144110.824C53F99F>