ports/154365: gtk20 port: add a port option to enable WITH_DEBUG

Stephen Fisher steve at stephen-fisher.com
Sat Jan 29 00:10:10 UTC 2011


>Number:         154365
>Category:       ports
>Synopsis:       gtk20 port: add a port option to enable WITH_DEBUG
>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:   Sat Jan 29 00:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list