summaryrefslogtreecommitdiff
path: root/games/taxipilot
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-07-27 12:50:48 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-07-27 12:50:48 +0000
commit9bf8c0b5c2f9d1d6aed6557735dcb769b5c374ba (patch)
treeffecf66fb5aff05c4aba499857ca0d6484abac8e /games/taxipilot
parentFix build. (diff)
There is no stdint.h in STABLE.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=85672
Diffstat (limited to 'games/taxipilot')
-rw-r--r--games/taxipilot/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/taxipilot/Makefile b/games/taxipilot/Makefile
index 05bd5cbcd77c..51ca380f52f9 100644
--- a/games/taxipilot/Makefile
+++ b/games/taxipilot/Makefile
@@ -20,5 +20,14 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
+USE_REINPLACE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500028
+post-patch:
+ ${REINPLACE_CMD} -e "s,#include <stdint.h>,," \
+ ${WRKSRC}/taxipilot/timemanager.h
+.endif
+
+.include <bsd.port.post.mk>