diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/opencity/Makefile | 9 | ||||
-rw-r--r-- | games/opencity/files/extra-patch-src-macros.h | 16 |
2 files changed, 3 insertions, 22 deletions
diff --git a/games/opencity/Makefile b/games/opencity/Makefile index e99a34e23527..36a4d2ee07d7 100644 --- a/games/opencity/Makefile +++ b/games/opencity/Makefile @@ -16,16 +16,13 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_SDL= sdl mixer image net USE_GL= gl glu +USE_GCC= any PORTDOCS= * MAN6= opencity.6 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 802502 -EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-macros.h -.endif +.include <bsd.port.options.mk> .if ! ${PORT_OPTIONS:MDOCS} post-patch: @@ -33,4 +30,4 @@ post-patch: ${WRKSRC}/docs/Makefile.in .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/games/opencity/files/extra-patch-src-macros.h b/games/opencity/files/extra-patch-src-macros.h deleted file mode 100644 index 7611bf07b26b..000000000000 --- a/games/opencity/files/extra-patch-src-macros.h +++ /dev/null @@ -1,16 +0,0 @@ ---- src/macros.h.orig 2008-10-28 21:23:51.000000000 +0300 -+++ src/macros.h 2008-11-05 03:52:54.000000000 +0300 -@@ -87,12 +87,10 @@ - #define strcasecmp _stricmp - #endif - -- /* C99 standard has this -+ #endif // #if defined(__WIN32__) - // log2 workaround - #if !defined(log2) - #define log2(value) log((double)value)/log(2.0) - #endif -- */ -- #endif // #if defined(__WIN32__) - #endif - |