From nobody@FreeBSD.org  Sat Jan 29 00:03:49 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CBEE01065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Jan 2011 00:03:49 +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 BB4F58FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Jan 2011 00:03:49 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0T03nW3072304
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Jan 2011 00:03:49 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p0T03nSi072303;
	Sat, 29 Jan 2011 00:03:49 GMT
	(envelope-from nobody)
Message-Id: <201101290003.p0T03nSi072303@red.freebsd.org>
Date: Sat, 29 Jan 2011 00:03:49 GMT
From: Stephen Fisher <steve@stephen-fisher.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gtk20 port: add a port option to enable WITH_DEBUG
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154365
>Category:       ports
>Synopsis:       x11-toolkits/gtk20: add a port option to enable WITH_DEBUG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 00:10:09 UTC 2011
>Closed-Date:    Mon Mar 14 21:30:49 UTC 2011
>Last-Modified:  Mon Mar 14 21:30:49 UTC 2011
>Originator:     Stephen Fisher
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD xxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The attached patch adds a port option to set WITH_DEBUG on the gtk20 port so that the setting can be stored for future builds of the port.  The port's Makefile already sets "--enable-debug=yes" when WITH_DEBUG is defined.

>How-To-Repeat:
n/a
>Fix:
Apply the attached patch in the x11-toolkits/gtk20 ports directory.


Patch attached with submission follows:

--- Makefile.orig	2010-12-04 00:34:16.000000000 -0700
+++ Makefile	2011-01-28 16:52:16.000000000 -0700
@@ -55,7 +55,8 @@
 CONFIGURE_ARGS+=	--enable-debug=yes
 .endif
 
-OPTIONS=	CUPS "Enable cups printing support" on
+OPTIONS=	CUPS "Enable cups printing support" on \
+		DEBUG "Turn on debugging" off
 
 .include <bsd.port.pre.mk>
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 29 00:22:58 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154365 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Mon Mar 14 21:30:33 UTC 2011 
State-Changed-Why:  
Add WITH_DEBUG in OPTIONS is not need. Because, the WITH_DEBUG is a standard 
option in all ports by look at bsd.port.mk. 

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