ports/180484: bsd.tcl.mk does not support full range of version settings

David O'Brien obrien at freebsd.Org
Fri Jul 12 06:10:00 UTC 2013


>Number:         180484
>Category:       ports
>Synopsis:       bsd.tcl.mk does not support full range of version settings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 06:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     David O'Brien
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD dragon.NUXI.org 10.0-CURRENT FreeBSD 10.0-CURRENT #686 r248156M: Mon Mar 11 15:57:05 PDT 2013 rootk at dragon:/sys/amd64/compile/DRAGON amd64

	svn://svn.freebsd.org/ports/head/Mk@322794
>Description:
	Reading bsd.lua.mk, I see:

	# USE_LUA       - Set to the list of Lua versions that can be used by the
	...
	#                 - Partial range: single version and lower (e.g. "5.1-").

	# USE_LUA_NOT   - Set to the list of Lua versions that can't be used by the
	#                 port. In other words, it removes some versions from USE_LUA.


	However these are missing from bsd.tcl.mk.  This means I cannot say
	that the iCal port builds fine with any Tk verison < 8.6.

	Basic functionality like this should be uniform across the various
	scripting interpters.

>How-To-Repeat:
	-USE_TK?=       85
	+USE_TK?=       85-

	$ make
	===>  ical-2.2_3 unknown Tcl/Tk version specified: 85-.
	*** [all] Error code 1

	Stop in /usr/ports/deskutils/ical.

----------%<----------%<----------%<----------%<----------%<----------

	-USE_TK?=       85
	+USE_TK=                yes
	+USE_TK_NOT=    86

	$ make
	===> Fetching all distfiles required by ical-2.2_3 for building
	===>  Extracting for ical-2.2_3
	=> SHA256 Checksum OK for ical-2.2.tar.gz.
	...
	===>   ical-2.2_3 depends on shared library: tk86 - not found
	===>    Verifying install for tk86 in /usr/ports/x11-toolkits/tk86


>Fix:

	Update bsd.tcl.mk to have the correct modern functionality as
	bsd.lua.mk has.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list