Files
ports/www/apache13/files/patch-apxs
Ed Schouten 936c46861d 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
2009-06-08 09:27:33 +00:00

11 lines
219 B
Plaintext

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