aboutsummaryrefslogtreecommitdiff
path: root/games/gemrb
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-09-23 08:07:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-09-23 08:07:37 +0000
commit513cda90c2236e4c0d8e32eecb273db1a907b5c1 (patch)
tree7fac8718e9aa6d2b9b83c29c407b1a6021d9c7ce /games/gemrb
parente752ad98604aef692b540247ce67ea75a2d5a068 (diff)
downloadports-513cda90c2236e4c0d8e32eecb273db1a907b5c1.tar.gz
ports-513cda90c2236e4c0d8e32eecb273db1a907b5c1.zip
- Try to fix build on 6.x (untested)
Submitted by: Timothy Beyer <beyert@cs.ucr.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=261692
Diffstat (limited to 'games/gemrb')
-rw-r--r--games/gemrb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile
index b194cfdd760d..f5dc8a53c3fd 100644
--- a/games/gemrb/Makefile
+++ b/games/gemrb/Makefile
@@ -30,6 +30,12 @@ CMAKE_ARGS= -DDOC_DIR="${LOCALBASE}/share/doc/gemrb" -DMAN_DIR="${LOCALBASE}/man
MAN6= gemrb.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
post-patch:
.if defined(NOPORTDOCS)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-noportdocs-*
@@ -41,4 +47,4 @@ post-install:
fi
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>