Date: Tue, 1 Jun 2010 11:15:37 GMT From: Robert Jenssen <robertjenssen@ozemail.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/147276: x11-fonts/tkfont/Makefile does not use default tcl/tk version by USE_TK=yes Message-ID: <201006011115.o51BFbP2009366@www.freebsd.org> Resent-Message-ID: <201006011120.o51BK2aT033915@freefall.freebsd.org>
index | next in thread | raw e-mail
>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@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@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@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:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006011115.o51BFbP2009366>
