From nobody@FreeBSD.org  Mon Dec 31 20:23:08 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8B9C89D6
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Dec 2012 20:23:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 71C918FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Dec 2012 20:23:08 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBVKN8NP075521
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Dec 2012 20:23:08 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBVKN8Up075520;
	Mon, 31 Dec 2012 20:23:08 GMT
	(envelope-from nobody)
Message-Id: <201212312023.qBVKN8Up075520@red.freebsd.org>
Date: Mon, 31 Dec 2012 20:23:08 GMT
From: Doug Penner <darwinsurvivor@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/mp3info does not save "config" settings
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174869
>Category:       ports
>Synopsis:       audio/mp3info does not save "config" settings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 31 20:30:00 UTC 2012
>Closed-Date:    Mon Jan 07 12:34:47 UTC 2013
>Last-Modified:  Mon Jan  7 12:40:00 UTC 2013
>Originator:     Doug Penner
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD hestia 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When running "make config" on audio/mp3info it gives 1 option (which is set by default) for GTK2. If you uncheck the option and select "OK", then run "make config" again, it is checked again.

When you run "make install", it again brings up the dialog and if you un-check GTK2 (again), it will install without building GTK2.


I ran across this when building an application which depends on audio/mp3info and was trying to prevent all the X libraries from installing. I ran "make config-recursive" in the parent package. When I then noticed that the X libraries will still listed in "make missing", I ran "make config-recursive" again and audio/mp3info is the only package who's dialog came up the second time (there were many the first time).
>How-To-Repeat:
$ cd /usr/ports/audio/mp3info
$ make config
uncheck "GTK2"
$ make config
notice that it is set again!
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Dec 31 20:30:08 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174869 
State-Changed-From-To: open->closed 
State-Changed-By: sylvio 
State-Changed-When: Mon Jan 7 12:34:46 UTC 2013 
State-Changed-Why:  
Fixed problem with new OPTIONS. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174869 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174869: commit references a PR
Date: Mon,  7 Jan 2013 12:34:06 +0000 (UTC)

 Author: sylvio
 Date: Mon Jan  7 12:33:59 2013
 New Revision: 310042
 URL: http://svnweb.freebsd.org/changeset/ports/310042
 
 Log:
   - Change OPTIONS to new format.
   
   PR:		ports/174869
   Submitted by:	Doug Penner <darwinsurvivor@gmail.com>
 
 Modified:
   head/audio/mp3info/Makefile
 
 Modified: head/audio/mp3info/Makefile
 ==============================================================================
 --- head/audio/mp3info/Makefile	Mon Jan  7 12:16:45 2013	(r310041)
 +++ head/audio/mp3info/Makefile	Mon Jan  7 12:33:59 2013	(r310042)
 @@ -22,18 +22,20 @@ WANT_GNOME=	yes
  
  PORTDOCS=	ChangeLog README mp3info.txt
  
 -OPTIONS=	"GTK2"	"Enable to have the gmp3info"	"off"
 +OPTIONS_DEFINE=	GTK2
 +GTK2_DESC=	Enable to have the gmp3info
  
  PLIST_FILES=	bin/mp3info \
  		%%WITH_GTK%%bin/gmp3info
  
  MAN1=		mp3info.1
  
 -.include <bsd.port.pre.mk>
 -
  ALL_TARGET=	doc mp3info
  
 -.if defined (WITH_GTK2)
 +.include <bsd.port.pre.mk>
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MGTK2}
  PKGNAMESUFFIX=	-gtk
  USE_GNOME+=	gtk20
  ALL_TARGET+=	gmp3info
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
