Hi list,

I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config.

The specific port is lang/php4 and the option I want to add is --with-mime-magic (I know, php4 is old and not supported after 8.8.08 and --with-mime-magic is deprecated, but thats another story...).

So I added an option to make.conf(5):

.if ${.CURDIR:M*/lang/php4}

Unfortonately, this does not work.

When I add this option in the Makefile it works. The relevant part looks like this:

CONFIGURE_ARGS= --enable-versioning \
                --with-mime-magic \
                --enable-memory-limit \
                --with-layout=GNU \
                --with-config-file-scan-dir=${PREFIX}/etc/php \
                --disable-all \

Any ideas whats wrong here?

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to