Date: Mon, 13 Aug 2012 00:03:37 +0200 From: Olli Hauer <ohauer@FreeBSD.org> To: "apache@FreeBSD.org" <apache@FreeBSD.org> Subject: bsd.apache.mk rewrite / cleanup Message-ID: <50282839.6060800@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi all, the bsd.apache.mk script has undergone a rewrite for better support of options NG. changed: - make.conf pa-rams like WITH(OUT)_MODULES should be given in UPPER case. Code to convert make.conf pa-rams to UPPER case is in place - cleanup old constructs which are working in a sub-shell (@for ... ${GREP} ...) the parts are replaced to use make logic. - adjust apache20/apache22 ports for the new bsd.apache.mk. The bsd.apache.mk file should be touched again to support options NG in apache2x but those changes are only a view lines. I want to keep make.conf support the same way it works now even if apache22 is rewritten with options NG support. This means against new options NG logic the make.conf has priority over options set by "make config" (old behavior). To give make.conf and command line pa-rams a higher priority is needed for static and other special builds. I've done endless tests with the rewritten bsd.apache.mk and have not found any backward incompatible issues (except if we remove the UPPERCASE convert part) There is additional room for more cleanup, some comments are in the patch (MFC TODO). For anyone interested in review before I commit the patches http://people.freebsd.org/~ohauer/diffs/apache/bsd.apache.mk_rewrite_2012-08-12.txt -- olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50282839.6060800>