diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-09-03 18:16:07 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-09-03 18:16:07 +0000 |
commit | c88e1fdbac2970bd6b8990c8c940e78994d2f4d4 (patch) | |
tree | 520e30a95a905e2eeb962715d419ef6208442ccb /emulators/xmess/options.mk | |
parent | afd601fd94b45240a72988a5ea10351c178b7ec2 (diff) | |
download | pkgsrc-c88e1fdbac2970bd6b8990c8c940e78994d2f4d4.tar.gz |
* Remove compile warnings with gcc3.
* Use PKG_OPTIONS_OPTIONAL_GROUPS for sdl and opengl options.
Diffstat (limited to 'emulators/xmess/options.mk')
-rw-r--r-- | emulators/xmess/options.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/emulators/xmess/options.mk b/emulators/xmess/options.mk index 6c2c7aa300b..e3d734e7378 100644 --- a/emulators/xmess/options.mk +++ b/emulators/xmess/options.mk @@ -1,8 +1,10 @@ -# $NetBSD: options.mk,v 1.2 2004/11/08 14:55:23 wiz Exp $ +# $NetBSD: options.mk,v 1.3 2005/09/03 18:16:07 xtraeme Exp $ # -PKG_OPTIONS_VAR= PKG_OPTIONS.xmess -PKG_SUPPORTED_OPTIONS= sdl opengl esound +PKG_OPTIONS_VAR= PKG_OPTIONS.xmess +PKG_OPTIONS_OPTIONAL_GROUPS= video +PKG_OPTIONS_GROUP.video= sdl opengl +PKG_SUPPORTED_OPTIONS= esound .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Msdl) @@ -15,10 +17,6 @@ MAME_DISP_METHOD?= xgl MAME_DISP_METHOD?= x11 .endif -.if !empty(PKG_OPTIONS:Msdl) && !empty(PKG_OPTIONS:Mopengl) -PKG_SKIP_REASON+= "Only one display method is allowed." -.endif - .if !empty(PKG_OPTIONS:Mesound) MAKE_FLAGS+= SOUND_ESOUND=1 .include "../../audio/esound/buildlink3.mk" |