diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:57:08 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:57:08 +0000 |
commit | 8a53006e4825d2872731522b8d94bc931038a577 (patch) | |
tree | e0934cebe8342cdfe04b7cb52c2f30fefff35175 /lang/nesasm | |
parent | 260cdab2eced7f2f25298dd8adb90b4d751b9013 (diff) | |
download | ports-8a53006e4825d2872731522b8d94bc931038a577.tar.gz ports-8a53006e4825d2872731522b8d94bc931038a577.zip |
Notes
Diffstat (limited to 'lang/nesasm')
-rw-r--r-- | lang/nesasm/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/nesasm/Makefile b/lang/nesasm/Makefile index e94c73d10084..c2bfeb8eed0f 100644 --- a/lang/nesasm/Makefile +++ b/lang/nesasm/Makefile @@ -18,6 +18,11 @@ COMMENT= The nesasm assembler is a 6502 assembler with specific NES support WRKSRC= ${WRKDIR}/nbasic_2004_03_14/source/${PORTNAME}/source/ USE_ZIP= yes +post-patch: .SILENT + ${REINPLACE_CMD} -e '/^CC/s/=/?=/' \ + -e '/^CFLAGS/{s/=/+=/;s/-O2//;}' \ + ${WRKSRC}/Makefile.unix + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nesasm ${PREFIX}/bin .ifndef(NOPORTDOCS) |