diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-07 01:41:37 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-07 01:41:37 +0800 |
commit | 969334516c71d71309408764e103c44eebc4ec70 (patch) | |
tree | 71af47fd3bffc8f0364509cd66de648ca257e7af /games | |
parent | 5246f481df4a4198f365cf4e27675ec65e1579b0 (diff) | |
download | freebsd-ports-gnome-969334516c71d71309408764e103c44eebc4ec70.tar.gz freebsd-ports-gnome-969334516c71d71309408764e103c44eebc4ec70.tar.zst freebsd-ports-gnome-969334516c71d71309408764e103c44eebc4ec70.zip |
- Mark with USE_GCC
- Remove obsolete patch and OSVERSION check
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 - |