From umq@ueo.co.jp  Thu Apr 11 23:25:48 2013
Return-Path: <umq@ueo.co.jp>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id B5D1A75A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Apr 2013 23:25:48 +0000 (UTC)
	(envelope-from umq@ueo.co.jp)
Received: from msa04a.plala.or.jp (msa04.plala.or.jp [IPv6:2400:7800:0:5010::4])
	by mx1.freebsd.org (Postfix) with ESMTP id 36F271C9
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Apr 2013 23:25:47 +0000 (UTC)
Received: from terpsichore.kaumoge.org ([125.205.160.110])
          by msa04b.plala.or.jp with ESMTP
          id <20130411231105.LVAZ10966.msa04b.plala.or.jp@terpsichore.kaumoge.org>;
          Fri, 12 Apr 2013 08:11:05 +0900
Received: from calliope.kaumoge.org (calliope.kaumoge.org [192.168.24.120])
	by terpsichore.kaumoge.org (8.14.5/8.14.5/20101205) with ESMTP id r3BNAtcE018267;
	Fri, 12 Apr 2013 08:11:00 +0900 (JST)
	(envelope-from umq@ueo.co.jp)
Message-Id: <86ip3swtmo.wl%umq@ueo.co.jp>
Date: Fri, 12 Apr 2013 08:10:55 +0900
From: Hirohisa Yamaguchi <umq@ueo.co.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ports which have dynamic PKGNAMEPREFIX with OPTIONS need OPTIONSFILE specifed statically
X-Send-Pr-Version: 3.113

>Number:         177791
>Category:       ports
>Synopsis:       ports which have dynamic PKGNAMEPREFIX with OPTIONS need OPTIONSFILE specifed statically
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 11 23:30:00 UTC 2013
>Closed-Date:    Sat Dec 28 23:58:35 UTC 2013
>Last-Modified:  Sat Dec 28 23:58:35 UTC 2013
>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:

From: Jason Helfman <jgh@FreeBSD.org>
To: Hirohisa Yamaguchi <umq@ueo.co.jp>
Cc: bug-followup@freebsd.org
Subject: Re: ports/177791: ports which have dynamic PKGNAMEPREFIX with OPTIONS
 need OPTIONSFILE specifed statically
Date: Thu, 11 Apr 2013 17:29:35 -0700

 --001a11c2dd7469b24304da1eff2e
 Content-Type: text/plain; charset=ISO-8859-1
 
 This is more than likely a duplicate of ports/148637
 
 -jgh
 
 --
 Jason Helfman          | FreeBSD Committer
 jgh@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve
 
 --001a11c2dd7469b24304da1eff2e--
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Fri Apr 12 00:48:01 UTC 2013 
Responsible-Changed-Why:  
portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177791 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Sat Dec 28 23:58:34 UTC 2013 
State-Changed-Why:  
Fixed now 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177791 
>Unformatted:
