aboutsummaryrefslogtreecommitdiffstats
path: root/www/micro_httpd
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-01 20:31:31 +0800
committerkrion <krion@FreeBSD.org>2004-04-01 20:31:31 +0800
commit935dae1def857e2db30c17824383c2b229940838 (patch)
treea13271907b8d6d66c94f02170c27d6645ef6970f /www/micro_httpd
parent5f508c84de63ef7955d83fe5101cbcc4e2b2f71c (diff)
downloadfreebsd-ports-gnome-935dae1def857e2db30c17824383c2b229940838.tar.gz
freebsd-ports-gnome-935dae1def857e2db30c17824383c2b229940838.tar.zst
freebsd-ports-gnome-935dae1def857e2db30c17824383c2b229940838.zip
- Respect CC & CFLAGS
PR: ports/65032 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'www/micro_httpd')
-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 d35c8da9d3cb..f97307ae5f3e 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