aboutsummaryrefslogtreecommitdiff
path: root/graphics/synaesthesia/Makefile
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-05-31 11:35:47 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-05-31 11:35:47 +0000
commit2196b9068c9e9310670113bc241252ea1fd25882 (patch)
treef8def1018fdd60cd32a1e7924ad0915a49140ee8 /graphics/synaesthesia/Makefile
parent75605cdaf7473ad61e5b06ce661518f3b6e159b7 (diff)
downloadports-2196b9068c9e9310670113bc241252ea1fd25882.tar.gz
ports-2196b9068c9e9310670113bc241252ea1fd25882.zip
Notes
Diffstat (limited to 'graphics/synaesthesia/Makefile')
-rw-r--r--graphics/synaesthesia/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
index d8372bc66c9d..ebf8aa2e305f 100644
--- a/graphics/synaesthesia/Makefile
+++ b/graphics/synaesthesia/Makefile
@@ -22,6 +22,12 @@ CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not build on 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' ${WRKSRC}/*.c?
@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' ${WRKSRC}/sound.cc
@@ -33,4 +39,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>