aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-08 17:27:33 +0800
committered <ed@FreeBSD.org>2009-06-08 17:27:33 +0800
commit330dce027c0906345ec95e8c5790258311512e2a (patch)
tree8cde5fced7914599059542a3e19ef53ed84d27e7 /www
parent6403a8eeda1aa974970f8eeee55ff15c0e478bd7 (diff)
downloadfreebsd-ports-gnome-330dce027c0906345ec95e8c5790258311512e2a.tar.gz
freebsd-ports-gnome-330dce027c0906345ec95e8c5790258311512e2a.tar.zst
freebsd-ports-gnome-330dce027c0906345ec95e8c5790258311512e2a.zip
Be sure to remove -std= from apxs.
My change to apache13, to build it with -std=gnu89 also caused this compiler flag to be exposed through the apxs utility. This caused some Apache modules to fail to build. Reported by: pav, miwi
Diffstat (limited to 'www')
-rw-r--r--www/apache13/Makefile1
-rw-r--r--www/apache13/files/patch-apxs10
2 files changed, 11 insertions, 0 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index 291225c0b3c7..e8afb06d40d7 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.41
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= apache_${PORTVERSION}
diff --git a/www/apache13/files/patch-apxs b/www/apache13/files/patch-apxs
new file mode 100644
index 000000000000..9d8f1116f4ec
--- /dev/null
+++ b/www/apache13/files/patch-apxs
@@ -0,0 +1,10 @@
+--- src/support/apxs.pl
++++ src/support/apxs.pl
+@@ -47,6 +47,7 @@
+ $CFG_CFLAGS =~ s|^\s+||;
+ $CFG_CFLAGS =~ s|\s+$||;
+ $CFG_CFLAGS =~ s|\s+`.+apaci`||;
++$CFG_CFLAGS =~ s|\s+-std=[^\s]+||;
+
+ ##
+ ## parse argument line