diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-21 18:16:57 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-21 18:16:57 +0000 |
commit | c7c20b40f721099247ea9d2f596f2a7c63ddbcbe (patch) | |
tree | ee919e8d0a99d0d4612c5b1b244f7d019ae74d0b /games | |
parent | c53b1d14a85d6e4b4eccedbe44ee0818cc739eb4 (diff) |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/crack-attack/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile index 5d21f67bb906..d83efec82dd2 100644 --- a/games/crack-attack/Makefile +++ b/games/crack-attack/Makefile @@ -19,7 +19,12 @@ GNU_CONFIGURE= yes USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" CXXFLAGS="${CFLAGS}" +.include <bsd.port.pre.mk> + post-patch: - ${REINPLACE_CMD} -e 's|-O6 -s|${CFLAGS}|' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's|-O6 -s|${CFLAGS}|' ${WRKSRC}/src/Makefile.in +.if ${OSVERSION} >= 502126 + @${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |