Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 05:28:45 -0500 (EST)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        user@unknown.nu
Subject:   ports/65032: [PATCH] www/micro_httpd: [Respect CC & CFLAGS]
Message-ID:  <200404011028.i31ASj5m024825@gentoo.ahze.net>
Resent-Message-ID: <200404011030.i31AUHee031308@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65032
>Category:       ports
>Synopsis:       [PATCH] www/micro_httpd: [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 02:30:16 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 (user@unknown.nu) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- micro_httpd-2000.12.15.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/micro_httpd/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	6 Feb 2004 13:12:42 -0000	1.4
+++ Makefile	1 Apr 2004 10:27:17 -0000
@@ -23,7 +23,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
 		s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \
-		s:^(CC|CFLAGS) =.+::g;" \
+		s:gcc:${CC}:g; s:-O:${CFLAGS}:g" \
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \
 		${WRKSRC}/micro_httpd.8
--- micro_httpd-2000.12.15.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?200404011028.i31ASj5m024825>