From 969334516c71d71309408764e103c44eebc4ec70 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 6 Jun 2013 17:41:37 +0000 Subject: - Mark with USE_GCC - Remove obsolete patch and OSVERSION check --- games/opencity/Makefile | 9 +++------ games/opencity/files/extra-patch-src-macros.h | 16 ---------------- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 games/opencity/files/extra-patch-src-macros.h (limited to 'games/opencity') 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 - -.if ${OSVERSION} < 802502 -EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-macros.h -.endif +.include .if ! ${PORT_OPTIONS:MDOCS} post-patch: @@ -33,4 +30,4 @@ post-patch: ${WRKSRC}/docs/Makefile.in .endif -.include +.include 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 - -- cgit