aboutsummaryrefslogtreecommitdiff
path: root/devel/a2dev/Makefile
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2004-04-02 15:27:23 +0000
committerArchie Cobbs <archie@FreeBSD.org>2004-04-02 15:27:23 +0000
commitf978fba674dbdbc5495ce301c92e65aedb54a7d7 (patch)
tree33267787defec9577aff6fa005823048df185689 /devel/a2dev/Makefile
parent0d9b963950d48c73477c47a9c68327f6c5de5d96 (diff)
downloadports-f978fba674dbdbc5495ce301c92e65aedb54a7d7.tar.gz
ports-f978fba674dbdbc5495ce301c92e65aedb54a7d7.zip
Notes
Diffstat (limited to 'devel/a2dev/Makefile')
-rw-r--r--devel/a2dev/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/a2dev/Makefile b/devel/a2dev/Makefile
index 3950847f6f99..1dce61b08a0a 100644
--- a/devel/a2dev/Makefile
+++ b/devel/a2dev/Makefile
@@ -19,6 +19,7 @@ COMMENT= Apple II 6502 assembler, linker, loader, and object file viewer
USE_GMAKE= defined
PATCH_STRIP= -p1
MAN1= a2asm.1 a2link.1 a2load.1 a2objx.1
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -26,4 +27,8 @@ MAN1= a2asm.1 a2link.1 a2load.1 a2objx.1
BROKEN= "Does not compile on !i386"
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O3|${CFLAGS}|' \
+ ${WRKSRC}/Make.defs
+
.include <bsd.port.post.mk>