aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/powder/Makefile2
-rw-r--r--games/powermanga/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/games/powder/Makefile b/games/powder/Makefile
index db2731695d8b..ce0df419d4cf 100644
--- a/games/powder/Makefile
+++ b/games/powder/Makefile
@@ -33,7 +33,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/powder ${PREFIX}/bin/
-if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index aec5d24c4bfc..c8340a535f81 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -20,6 +20,8 @@ PORTDOCS= AUTHORS CHANGES
MAN6= powermanga.6
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS="-O3.*|CFLAGS="$$CFLAGS -std=c99"|' \
${WRKSRC}/configure