Date: Sun, 02 Feb 2014 20:11:47 +1100 From: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> To: "freebsd-ports@freebsd.org" <freebsd-ports@FreeBSD.org> Subject: bsd.apache.mk Malformed conditional when APACHE_VERSION defined Message-ID: <52EE0BD3.8000006@heuristicsystems.com.au>
next in thread | raw e-mail | index | archive | help
I filed a PR against textproc/htdig which should really be against the ports systems. Would someone be kind enough to advise the current method to specify the apache version. In ports.conf, I currently use USE_APACHE=22 | APACHE_VERSION=22 to specify the required version of apache for: textproc/htdig www/mod_security lang/php5 I believe this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=186364 which probably should be routed to the ports system, and not textproc/htdig The error is: cd /usr/ports/textproc/htdig && make -V UNIQUENAME "/usr/ports/Mk/bsd.apache.mk", line 306: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.apache.mk", line 306: Malformed conditional (!empty(_APACHE_VERSION_MINIMUM) && (${_APACHE_VERSION} < ${_APACHE_VERSION_MINIMUM})) "/usr/ports/Mk/bsd.port.mk", line 6603: if-less endif make: fatal errors encountered -- cannot continue which goes away if APACHE_VERSION isn't used, eg. cd /usr/ports/textproc/htdig && make __MAKE_CONF=/dev/null -V UNIQUENAME htdig Regards, Dewayne.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52EE0BD3.8000006>