From f978fba674dbdbc5495ce301c92e65aedb54a7d7 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Fri, 2 Apr 2004 15:27:23 +0000 Subject: Respect CC and CFLAGS. PR: ports/65048 --- devel/a2dev/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'devel') 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 @@ -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 -- cgit v1.2.3