Created attachment 178305 [details] Fix the -Werror problem. On FreeBSD I have found an issue, specially when we are building the module mpm_itk together with the newest apache version 2.4.25 that makes the build fail with an error. the previous version: usr/local/include/apache24/ap_config_auto.h:253:9: warning: 'PACKAGE_VERSION' macro redefined [-Wmacro-redefined] #define PACKAGE_VERSION "" new version 2.4.25: In file included from /usr/local/include/apache24/ap_config.h:138: /usr/local/include/apache24/ap_config_auto.h:257:9: error: 'PACKAGE_VERSION' macro redefined [-Werror,-Wmacro-redefined] #define PACKAGE_VERSION "" As you can see, apache package added on configure.in the option '-Werror', the macro-redefined before was just a warning but now the build fail with an error. This patch fix the issue, basically I'm removing the -Werror.
A commit references this bug: Author: ohauer Date: Tue Dec 27 09:52:14 UTC 2016 New revision: 429588 URL: https://svnweb.freebsd.org/changeset/ports/429588 Log: - fix third party module build e.g. mod_mpm_itk by removing -Werror from configure.in - bump PORTREVISON (fix changes config_vars.mk that is used to build third party modules) PR: 215594 Submitted by: Marcelo Araujo MFH: 2016Q4 Sponsored by: iXsystems Changes: head/www/apache24/Makefile head/www/apache24/files/patch-configure.in
Thanks for the hint with mpm_itk, your patch was committed!
A commit references this bug: Author: ohauer Date: Tue Dec 27 10:31:48 UTC 2016 New revision: 429597 URL: https://svnweb.freebsd.org/changeset/ports/429597 Log: MFH: r429588 - fix third party module build e.g. mod_mpm_itk by removing -Werror from configure.in - bump PORTREVISON (fix changes config_vars.mk that is used to build third party modules) PR: 215594 Submitted by: Marcelo Araujo Sponsored by: iXsystems Approved by: ports-secteam (blanket) Changes: _U branches/2016Q4/ branches/2016Q4/www/apache24/Makefile branches/2016Q4/www/apache24/files/patch-configure.in