aboutsummaryrefslogtreecommitdiff
path: root/emulators/openmsx
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2006-10-08 11:57:11 +0000
committerJohan van Selst <johans@FreeBSD.org>2006-10-08 11:57:11 +0000
commit24308eca83181656ec917bb4af90e464ca3fc631 (patch)
treead6a08494ec16cfffe153493781a2e467985c34b /emulators/openmsx
parentea6b4bcf15629e8525de9f7eddbd4ae6f3880d8f (diff)
downloadports-24308eca83181656ec917bb4af90e464ca3fc631.tar.gz
ports-24308eca83181656ec917bb4af90e464ca3fc631.zip
Notes
Diffstat (limited to 'emulators/openmsx')
-rw-r--r--emulators/openmsx/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
index 4747628582f8..b9ff6127956a 100644
--- a/emulators/openmsx/Makefile
+++ b/emulators/openmsx/Makefile
@@ -25,7 +25,7 @@ MAKE_ARGS+= INSTALL_BINARY_DIR=${PREFIX}/bin \
MAKEFILE= GNUmakefile
USE_GMAKE= yes
-USE_GCC= 3.2+
+USE_GCC= 3.3+
USE_TCL= 84
USE_TCL_BUILD= 84
USE_SDL= sdl image
@@ -35,4 +35,11 @@ USE_SDL= sdl image
MAKE_ARGS+= INSTALL_DOC_DIR=${WRKSRC}/dummy
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${OSVERSION} < 503000
+ @${REINPLACE_CMD} -e 's/round/rint/' ${WRKSRC}/src/Math.hh
+.endif
+
+.include <bsd.port.post.mk>