ports/142242: [PATCH] x11-toolkits/wxgtk26

Germain Le Chapelain lechapelaing at yahoo.fr
Sat Jan 2 15:10:02 UTC 2010


>Number:         142242
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/wxgtk26
>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 02 15:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Germain Le Chapelain
>Release:        
>Organization:
bcg
>Environment:
FreeBSD germ 7.1-STABLE FreeBSD 7.1-STABLE #0: Sun Jan 18 21:46:54 UTC 2009     german at germ:/usr/obj/usr/src/sys/germ  i386

>Description:
The attached patch adds an option to turn on the debug symbols.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: x11-toolkits/wxgtk26/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/wxgtk26/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- x11-toolkits/wxgtk26/Makefile	28 Nov 2009 20:06:26 -0000	1.44
+++ x11-toolkits/wxgtk26/Makefile	2 Jan 2010 15:00:01 -0000
@@ -16,6 +16,8 @@
 MAINTAINER?=	fjoe at FreeBSD.org
 COMMENT?=	The wxWidgets GUI toolkit with GTK+ bindings
 
+OPTIONS=        DEBUG "Include debug symbols" off
+
 LIB_DEPENDS+=	png.5:${PORTSDIR}/graphics/png\
 		jpeg.10:${PORTSDIR}/graphics/jpeg\
 		tiff.4:${PORTSDIR}/graphics/tiff\
@@ -38,6 +40,11 @@
 		--with-mspack\
 		--with-gtk\
 		--disable-backtrace
+
+.if defined(DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -liconv" \
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list