Index: head/emulators/dgen-sdl/Makefile =================================================================== --- head/emulators/dgen-sdl/Makefile (revision 445610) +++ head/emulators/dgen-sdl/Makefile (revision 445611) @@ -1,32 +1,38 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= dgen-sdl PORTVERSION= 1.33 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF/dgen/dgen/${PORTVERSION} MAINTAINER= ak@FreeBSD.org COMMENT= Wonderful Sega Genesis/MegaDrive emulator USE_SDL= sdl USE_GL= yes USES= gmake libarchive GNU_CONFIGURE= yes PLIST_FILES= bin/dgen \ bin/dgen_tobin \ man/man1/dgen.1.gz \ man/man1/dgen_tobin.1.gz \ man/man5/dgenrc.5.gz .include .if ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm .else CONFIGURE_ARGS+= --disable-asm .endif +post-patch: + @${REINPLACE_CMD} -e '/@NASM@/s/--//' \ + ${WRKSRC}/Makefile.in \ + ${WRKSRC}/mz80/Makefile.in \ + ${WRKSRC}/star/Makefile.in + .include