Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 08:48:40 GMT
From:      "barbara.xxx1975@libero.it" <Barbara@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139177: games/vavoom: add option to use the unicode version of wxgtk
Message-ID:  <200909270848.n8R8meBu030754@www.freebsd.org>
Resent-Message-ID: <200909270850.n8R8o1Ga097095@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139177
>Category:       ports
>Synopsis:       games/vavoom: add option to use the unicode version of wxgtk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 27 08:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     barbara.xxx1975@libero.it
>Release:        RELENG_7
>Organization:
>Environment:
FreeBSD satanasso.local.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Sep 26 21:00:11 CEST 2009     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
I added an option to use the unicode version of wxgtk (I'm using x11-toolkits/wxgtk28-unicode).
The main reason is to save hd space and time while building and upgrading on systems where the unicode version is installed yet as dependency for other ports.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2009-08-22 02:22:36.000000000 +0200
+++ Makefile	2009-09-19 02:41:31.000000000 +0200
@@ -29,7 +29,8 @@
 		OPENGL "Enable OpenGL support" on \
 		OPTIMIZED_CFLAGS "Enable compilation optimizations" off \
 		VORBIS "Enable Ogg Vorbis support" off \
-		SDL "Use SDL for hardware API" on
+		SDL "Use SDL for hardware API" on \
+		WXUNICODE "Enable Unicode support" off
 
 SUB_FILES=	pkg-message
 
@@ -122,6 +123,10 @@
 CMAKE_ARGS+=	-DWITH_SDL=N
 .endif
 
+.if !defined(WITHOUT_WXUNICODE)
+WX_UNICODE=yes
+.endif
+
 post-patch:
 	@cd ${WRKSRC} && ${SH} fixunix.sh
 	@${REINPLACE_CMD} -e 's|$$\* ||; s|$${IWADDIR}|-iwaddir ${DMDIR} $$*|' \


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909270848.n8R8meBu030754>