aboutsummaryrefslogtreecommitdiff
path: root/games/lincity-ng
diff options
context:
space:
mode:
Diffstat (limited to 'games/lincity-ng')
-rw-r--r--games/lincity-ng/Makefile10
-rw-r--r--games/lincity-ng/files/extra-src-gui-Gradient.cpp12
-rw-r--r--games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp13
3 files changed, 1 insertions, 34 deletions
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index 302ef777d220..8e33d71eb4d1 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -29,18 +29,10 @@ CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 504000
-pre-configure::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-Gradient.cpp
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-PainterSDL-PainterSDL.cpp
-.endif
-
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/lincity-ng/files/extra-src-gui-Gradient.cpp b/games/lincity-ng/files/extra-src-gui-Gradient.cpp
deleted file mode 100644
index 2996f8917001..000000000000
--- a/games/lincity-ng/files/extra-src-gui-Gradient.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/gui/Gradient.cpp.orig Fri Jul 15 19:47:11 2005
-+++ src/gui/Gradient.cpp Sat Jul 23 12:40:46 2005
-@@ -28,9 +28,7 @@
- #include "Painter.hpp"
- #include "ComponentFactory.hpp"
-
--#ifdef _MSC_VER
- #define lrintf(x) (long int)x
--#endif
-
- Gradient::Gradient()
- : direction(LEFT_RIGHT)
diff --git a/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp b/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
deleted file mode 100644
index 476925c8c3ac..000000000000
--- a/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/gui/PainterSDL/PainterSDL.cpp.orig Fri Jul 15 19:47:12 2005
-+++ src/gui/PainterSDL/PainterSDL.cpp Sat Jul 23 12:41:09 2005
-@@ -30,10 +30,8 @@
-
- #include "TextureSDL.hpp"
-
--#ifdef _MSC_VER
- #define lrint(x) (long int)x
- #define lroundf(x) (long int)(x + .5)
--#endif
-
- PainterSDL::PainterSDL(SDL_Surface* _target)
- : target(_target)