aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-10-16 19:15:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-10-16 19:15:38 +0000
commit8198c7a81d01b0408803dd4f0f31ebad00b2ccb9 (patch)
treee95c245b6c818a9508ec2ea535b51f3817625f77 /games
parent8407130f91ae83f79fdc5ad3d688a67f09428611 (diff)
downloadports-8198c7a81d01b0408803dd4f0f31ebad00b2ccb9.tar.gz
ports-8198c7a81d01b0408803dd4f0f31ebad00b2ccb9.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/gcompris2/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/gcompris2/Makefile b/games/gcompris2/Makefile
index 96a77fee691c..7db4d2d094cf 100644
--- a/games/gcompris2/Makefile
+++ b/games/gcompris2/Makefile
@@ -34,7 +34,6 @@ USE_SDL= mixer
USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui pygnome2
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
-USE_GCC= 3.4+
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="${PTHREAD_LIBS} -lm"
@@ -46,8 +45,14 @@ BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= Does not build on 4.X
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-DGNOME_DISABLE_DEPRECATED||g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>