Date: Thu, 1 Apr 2004 15:18:38 -0500 (EST) From: michael johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: archie@FreeBSD.org Subject: ports/65048: [PATCH] devel/a2dev: [Respect CC & CFLAGS] Message-ID: <200404012018.i31KIcUX038543@gentoo.ahze.net> Resent-Message-ID: <200404012020.i31KKEnl084442@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65048 >Category: ports >Synopsis: [PATCH] devel/a2dev: [Respect CC & CFLAGS] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 01 12:20:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004 >Description: - Respect CC & CFLAGS Port maintainer (archie@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- a2dev-1.2_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/a2dev/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 23 Feb 2004 05:03:28 -0000 1.10 +++ Makefile 1 Apr 2004 19:23:45 -0000 @@ -19,11 +19,16 @@ USE_GMAKE= defined PATCH_STRIP= -p1 MAN1= a2asm.1 a2link.1 a2load.1 a2objx.1 +USE_REINPLACE= yes .include <bsd.port.pre.mk> .if ${ARCH} != "i386" 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> --- a2dev-1.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404012018.i31KIcUX038543>