Malformed conditional when APACHE_VERSION defined

Dewayne Geraghty dewayne.geraghty at
Sun Feb 2 10:14:37 UTC 2014

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
to specify the required version of apache for:

I believe this PR

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/", line 306: warning: String comparison
operator should be either == or !=
"/usr/ports/Mk/", line 306: Malformed conditional
"/usr/ports/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

Regards, Dewayne.

More information about the freebsd-ports mailing list