diff options
-rw-r--r-- | games/empire/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/empire/Makefile b/games/empire/Makefile index b0d94fb8262b..9f5e41ee3ccd 100644 --- a/games/empire/Makefile +++ b/games/empire/Makefile @@ -20,6 +20,13 @@ PLIST_FILES= bin/empire PORTDOCS= BUGS README USE_GMAKE= yes +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} >= 700042 + @${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire ${INSTALL_MAN} ${WRKSRC}/vms-empire.6 ${MANPREFIX}/man/man6/empire.6 @@ -30,4 +37,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |