ports/132386: [patch] devel/git: Change hard coded TCL dependancy to USE_TCL
Scot W. Hetzel
swhetzel at gmail.com
Sat Mar 7 14:00:10 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list