Do the usual c99 dance to fix the build on sparc64

This commit is contained in:
kmos 2023-01-03 21:46:13 +00:00
parent 30b73fdcb8
commit 903643511f
1 changed files with 5 additions and 0 deletions

View File

@ -28,4 +28,9 @@ post-install:
perl -pi -e 's,Port 22,Port 2222,;s,BindFamily 0,BindFamily 4,' \
${PREFIX}/share/examples/endlessh/config
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>