aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/dgen-sdl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/emulators/dgen-sdl/Makefile b/emulators/dgen-sdl/Makefile
index e809d6667589..a4c342cdd8dd 100644
--- a/emulators/dgen-sdl/Makefile
+++ b/emulators/dgen-sdl/Makefile
@@ -29,4 +29,10 @@ BUILD_DEPENDS+= nasm:devel/nasm
CONFIGURE_ARGS+= --disable-asm
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/@NASM@/s/--//' \
+ ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/mz80/Makefile.in \
+ ${WRKSRC}/star/Makefile.in
+
.include <bsd.port.post.mk>