aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-26 03:19:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-26 03:19:53 +0000
commit06531c7a0b0add591f42d17c992265179897e4d2 (patch)
treecac6bcc2af013d64e4ad02dab4247d399a79f56f /graphics
parent46e1b36ef346507f2af293a6a7c8f44132903547 (diff)
downloadports-06531c7a0b0add591f42d17c992265179897e4d2.tar.gz
ports-06531c7a0b0add591f42d17c992265179897e4d2.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/synaesthesia/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
index 3437bf8475dd..8807ee8a7896 100644
--- a/graphics/synaesthesia/Makefile
+++ b/graphics/synaesthesia/Makefile
@@ -22,6 +22,12 @@ USE_X_PREFIX= Yes
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' `${FIND} ${WRKSRC} -name \*.cc -or -name \*.c`
@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' \
@@ -34,4 +40,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/synaesthesia
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>