From e6aa39e84d6bab2e4b2e7b2de146ca5825214f3b Mon Sep 17 00:00:00 2001 From: acm Date: Mon, 6 Nov 2006 18:19:46 +0000 Subject: - Use the correct way to check the default options on Makefile PR: ports/105004 Submitted by: Dmitry Marakasov --- games/bloodfrontier/Makefile | 6 +++--- games/redeclipse/Makefile | 6 +++--- games/sauerbraten/Makefile | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'games') diff --git a/games/bloodfrontier/Makefile b/games/bloodfrontier/Makefile index 2d7da99514b5..20e75a2c6318 100644 --- a/games/bloodfrontier/Makefile +++ b/games/bloodfrontier/Makefile @@ -34,7 +34,7 @@ SAUDATDIR= packages data .include -.if !defined(WITH_CLIENT) && !defined(WITH_DEDICATED) +.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) IGNORE= needs at least one executable (CLIENT or DEDICATED) .endif @@ -42,7 +42,7 @@ IGNORE= needs at least one executable (CLIENT or DEDICATED) BROKEN= does not compile .endif -.if defined(WITH_CLIENT) +.if !defined(WITHOUT_CLIENT) USE_GL= yes USE_SDL= image mixer sdl ALL_TARGET+= client @@ -52,7 +52,7 @@ SAUER_BIN+= client PLIST_SUB+= CLIENT="" .endif -.if defined(WITH_DEDICATED) +.if !defined(WITHOUT_DEDICATED) ALL_TARGET+= server PLIST_SUB+= DEDICATED="" SAUER_BIN+= server diff --git a/games/redeclipse/Makefile b/games/redeclipse/Makefile index 2d7da99514b5..20e75a2c6318 100644 --- a/games/redeclipse/Makefile +++ b/games/redeclipse/Makefile @@ -34,7 +34,7 @@ SAUDATDIR= packages data .include -.if !defined(WITH_CLIENT) && !defined(WITH_DEDICATED) +.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) IGNORE= needs at least one executable (CLIENT or DEDICATED) .endif @@ -42,7 +42,7 @@ IGNORE= needs at least one executable (CLIENT or DEDICATED) BROKEN= does not compile .endif -.if defined(WITH_CLIENT) +.if !defined(WITHOUT_CLIENT) USE_GL= yes USE_SDL= image mixer sdl ALL_TARGET+= client @@ -52,7 +52,7 @@ SAUER_BIN+= client PLIST_SUB+= CLIENT="" .endif -.if defined(WITH_DEDICATED) +.if !defined(WITHOUT_DEDICATED) ALL_TARGET+= server PLIST_SUB+= DEDICATED="" SAUER_BIN+= server diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile index 2d7da99514b5..20e75a2c6318 100644 --- a/games/sauerbraten/Makefile +++ b/games/sauerbraten/Makefile @@ -34,7 +34,7 @@ SAUDATDIR= packages data .include -.if !defined(WITH_CLIENT) && !defined(WITH_DEDICATED) +.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) IGNORE= needs at least one executable (CLIENT or DEDICATED) .endif @@ -42,7 +42,7 @@ IGNORE= needs at least one executable (CLIENT or DEDICATED) BROKEN= does not compile .endif -.if defined(WITH_CLIENT) +.if !defined(WITHOUT_CLIENT) USE_GL= yes USE_SDL= image mixer sdl ALL_TARGET+= client @@ -52,7 +52,7 @@ SAUER_BIN+= client PLIST_SUB+= CLIENT="" .endif -.if defined(WITH_DEDICATED) +.if !defined(WITHOUT_DEDICATED) ALL_TARGET+= server PLIST_SUB+= DEDICATED="" SAUER_BIN+= server -- cgit