Bug 180484 - bsd.tcl.mk does not support full range of version settings
Summary: bsd.tcl.mk does not support full range of version settings
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-12 07:10 UTC by David E. O'Brien
Modified: 2014-11-09 22:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David E. O'Brien freebsd_committer 2013-07-12 07:10:00 UTC
	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.

Fix: 

Update bsd.tcl.mk to have the correct modern functionality as
	bsd.lua.mk has.
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-07-12 12:52:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer.
Comment 2 Carlo Strub freebsd_committer 2014-09-14 10:37:57 UTC
Is this PR still relevant?