Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2009 13:59:57 GMT
From:      "Scot W. Hetzel" <swhetzel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/132386: [patch] devel/git: Change hard coded TCL dependancy to USE_TCL
Message-ID:  <200903071359.n27DxvkM049964@www.freebsd.org>
Resent-Message-ID: <200903071400.n27E09uk086187@freefall.freebsd.org>

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

>Number:         132386
>Category:       ports
>Synopsis:       [patch] devel/git: Change hard coded TCL dependancy to USE_TCL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 07 14:00:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Scot W. Hetzel
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD hp010 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Fri Mar  6 02:22:28 CST 2009     root@hp010:/usr/obj/usr/src/8x-zfs/sys/DV8135NR  amd64

>Description:
Currently, devel/git has a hardcoded run dependency on TK 8.4. The attached patch allows devel/git to use TK 8.4+.
>How-To-Repeat:

>Fix:
Apply the attached patch.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/git/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- Makefile	24 Feb 2009 19:59:43 -0000	1.48
+++ Makefile	7 Mar 2009 13:35:24 -0000
@@ -199,12 +199,13 @@
 .endif
 
 .ifndef (WITHOUT_GUI)
+USE_TK=		84+
+.include "${PORTSDIR}/Mk/bsd.tcl.mk"
 MAN1+=		git-citool.1 \
 		git-gui.1 \
 		gitk.1
 PLIST_SUB+=	GUI=""
-RUN_DEPENDS+=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
-MAKE_ENV+=	TCL_PATH=tclsh8.4 TCLTK_PATH=wish8.4
+MAKE_ENV+=	TCL_PATH=${TCLSH} TCLTK_PATH=${WISH}
 .else
 PLIST_SUB+=	GUI="@comment "
 MAKE_ENV+=	NO_TCLTK=yes


>Release-Note:
>Audit-Trail:
>Unformatted:



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