Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 08:10:55 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177791: ports which have dynamic PKGNAMEPREFIX with OPTIONS need OPTIONSFILE specifed statically
Message-ID:  <86ip3swtmo.wl%umq@ueo.co.jp>
Resent-Message-ID: <201304112330.r3BNU1XI026957@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177791
>Category:       ports
>Synopsis:       ports which have dynamic PKGNAMEPREFIX with OPTIONS need OPTIONSFILE specifed statically
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 11 23:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	Ports with dynamic PKGNAMEPREFIX (e.g. LUA_PKGNAMEPREFIX,
	LUA_PKGNAMEPREFIX) do not seem to be able to determine OPTIONSFILE
	correctly.
	Dialog for options shows every time and apparently saved values are
	not used.
	It is quite annoying.

>How-To-Repeat:
	for example:
	# make -C /usr/ports/www/py-qp config (shows dialog)
	# make -C /usr/ports/www/py-qp extract (shows dialog unexpectedly)

>Fix:

	Add LATEST_LINK, OPTIONSFILE, or UNIQUENAME

	script like following might find ports have the problem:
	$ find /usr/ports -type f -name Makefile -exec grep -l '^PKGNAMEPREFIX.*\$' {} + |\
	  xargs grep -L ^LATEST_LINK |\
	  xargs grep -L ^OPTIONSFILE |\
	  xargs grep -L ^UNIQUENAME |\
	  xargs grep -l ^OPTIONS
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ip3swtmo.wl%umq>