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 +.include + +.if ${OSVERSION} < 500028 +post-patch: + ${REINPLACE_CMD} -e "s,#include ,," \ + ${WRKSRC}/taxipilot/timemanager.h +.endif + +.include