- Fix build on -CURRENT (gcc 4.2.0 import)
Reported by: pav
This commit is contained in:
parent
d7e60fec56
commit
9ff8939c6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195664
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user