Problem with OPTIONS, USE_PHP and bsd.port.pre.mk

Christian Laursen xi at borderworlds.dk
Tue Aug 24 01:20:01 PDT 2004


I'm trying to add two knobs to the mail/mlmmj port that I maintain.

It is almost working, but I have one problem left which I can't
figure out.

The Makefile is here: http://borderworlds.dk/~xi/Makefile

The problem is this:
- USE_PHP has to come before the inclusion of bsd.port.pre.mk
- WITH_PHP_WEBINTERFACE is not defined until after the inclusion of
  bsd.port.pre.mk

Is there some way to solve this without hardcoding the php dependency
which I really would like to avoid.

The perl dependencies work fine and gets registered properly.

Thanks in advance.

-- 
Christian Laursen


More information about the freebsd-ports mailing list