- Respect CC/CFLAGS
PR: 162536 Submitted by: Jan Beich <jbeich@tormail.net> Approved by: maintainer Feature safe: yes
This commit is contained in:
parent
260cdab2ec
commit
8a53006e48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286374
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue