From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 11 23:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7B2367CB for ; Thu, 11 Apr 2013 23:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 479C11F7 for ; Thu, 11 Apr 2013 23:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3BNU1Bv026958 for ; Thu, 11 Apr 2013 23:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3BNU1XI026957; Thu, 11 Apr 2013 23:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 11 Apr 2013 23:30:01 GMT Resent-Message-Id: <201304112330.r3BNU1XI026957@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hirohisa Yamaguchi Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B5D1A75A for ; 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 ; 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 To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177791: ports which have dynamic PKGNAMEPREFIX with OPTIONS need OPTIONSFILE specifed statically X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2013 23:30:01 -0000 >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: >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: