summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-01 12:31:31 +0000
committerkrion <krion@FreeBSD.org>2004-04-01 12:31:31 +0000
commit935dae1def857e2db30c17824383c2b229940838 (patch)
treea13271907b8d6d66c94f02170c27d6645ef6970f
parent5f508c84de63ef7955d83fe5101cbcc4e2b2f71c (diff)
downloadFreeBSD-ports-935dae1def857e2db30c17824383c2b229940838.zip
FreeBSD-ports-935dae1def857e2db30c17824383c2b229940838.tar.gz
- Respect CC & CFLAGS
PR: ports/65032 Submitted by: michael johnson <ahze@ahze.net>
-rw-r--r--www/micro_httpd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/micro_httpd/Makefile b/www/micro_httpd/Makefile
index d35c8da..f97307a 100644
--- a/www/micro_httpd/Makefile
+++ b/www/micro_httpd/Makefile
@@ -23,7 +23,7 @@ PLIST_FILES= sbin/micro_httpd
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
OpenPOWER on IntegriCloud