ports/65048: [PATCH] devel/a2dev: [Respect CC & CFLAGS]

michael johnson ahze at ahze.net
Thu Apr 1 20:20:14 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list