Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2009 03:01:18 +0200
From:      "barbara" <barbara.xxx1975@libero.it>
To:        "ports" <ports@freebsd.org>
Subject:   games/vavoom-extras: make config overwrite options for vavoom
Message-ID:  <KQ71I6$830D58D8FA6125DE5D10DE866E889E19@libero.it>

next in thread | raw e-mail | index | archive | help
Running make config in /usr/ports/games/vavoom-extras, result in the opti=
ons for games/vavoom being overwritten.

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

Is that expected?


I have another question about games/vavoom: can you evaluate the followin=
g patch? It's freely inspired (copied without shame) from net-p2p/aMule2,=
 to have vlaunch linking wxgtk2-unicode to save space/time on system wher=
e 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=3D	pkg-message
 
@@ -122,6 +123,10 @@
 CMAKE_ARGS+=3D	-DWITH_SDL=3DN
 .endif
 
+.if !defined(WITHOUT_WXUNICODE)
+WX_UNICODE=3Dyes
+.endif
+
 post-patch:
 	@cd ${WRKSRC} && ${SH} fixunix.sh
 	@${REINPLACE_CMD} -e 's|$$\* ||; s|$${IWADDIR}|-iwaddir ${DMDIR} $$*|' =
\
------------------------------------------------------------------------

Thanks
Barbara





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KQ71I6$830D58D8FA6125DE5D10DE866E889E19>