games/vavoom-extras: make config overwrite options for vavoom

barbara barbara.xxx1975 at libero.it
Sat Sep 19 01:12:29 UTC 2009


Running make config in /usr/ports/games/vavoom-extras, result in the options for games/vavoom being overwritten.

# cd /usr/ports/games/vavoom
# make config && grep _OPTIONS_READ /var/db/ports/vavoom/options
_OPTIONS_READ=vavoom-1.28_3
# cd /usr/ports/games/vavoom-extras
# make config && grep _OPTIONS_READ /var/db/ports/vavoom/options
_OPTIONS_READ=vavoom-extras-1.25_1

Is that expected?


I have another question about games/vavoom: can you evaluate the following patch? It's freely inspired (copied without shame) from net-p2p/aMule2, to have vlaunch linking wxgtk2-unicode to save space/time on system where the unicode version is installed yet.
I've tested it and there is no problem so far.

http://pastebin.com/f7bf16559
------------------------------------------------------------------------
--- 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} $$*|' \
------------------------------------------------------------------------

Thanks
Barbara




More information about the freebsd-ports mailing list