misc/147276: x11-fonts/tkfont/Makefile does not use default tcl/tk
version by USE_TK=yes
Robert Jenssen
robertjenssen at ozemail.com.au
Tue Jun 1 11:20:03 UTC 2010
>Number: 147276
>Category: misc
>Synopsis: x11-fonts/tkfont/Makefile does not use default tcl/tk version by USE_TK=yes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 01 11:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Robert Jenssen
>Release: 8.1-PRERELEASE
>Organization:
>Environment:
FreeBSD kraken 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Mon May 31 07:42:57 EST 2010 root at kraken:/usr/obj/usr/src/sys/KRAKEN i386
>Description:
x11-fonts/tkfont/Makefile is hardwired to tcl/tk version 8.4 rather than using the default tcl/tk version defined in bsd.tcl.mk. Also, tkfont assumes xlsfonts is present.
>How-To-Repeat:
cd /usr/ports/x11-fonts/tkfont && make install
tkfont
>Fix:
Apply attached patch to Makefile
Patch attached with submission follows:
*** Makefile.orig 2010-06-01 20:56:31.000000000 +1000
--- Makefile 2010-06-01 21:03:18.000000000 +1000
***************
*** 15,27 ****
MAINTAINER= ports at FreeBSD.org
COMMENT= A Tk based replacement for xfontsel
! RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_BUILD= yes
post-patch:
${SED} -e "s,/usr/local,${LOCALBASE}," \
! -e "s,#!/usr/X11/bin/wish,#!$(LOCALBASE)/bin/wish8.4," \
< ${WRKSRC}/tkfont > ${WRKSRC}/tkfont.new
${MV} ${WRKSRC}/tkfont.new ${WRKSRC}/tkfont
--- 15,29 ----
MAINTAINER= ports at FreeBSD.org
COMMENT= A Tk based replacement for xfontsel
! USE_TK= yes
!
! RUN_DEPENDS+= xlsfonts:${PORTSDIR}/x11-fonts/xlsfonts
NO_BUILD= yes
post-patch:
${SED} -e "s,/usr/local,${LOCALBASE}," \
! -e "s,#!/usr/X11/bin/wish,#!${WISH}," \
< ${WRKSRC}/tkfont > ${WRKSRC}/tkfont.new
${MV} ${WRKSRC}/tkfont.new ${WRKSRC}/tkfont
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list