Skip site navigation (1)Skip section navigation (2)
Date:      24 Aug 2004 10:19:57 +0200
From:      Christian Laursen <xi@borderworlds.dk>
To:        ports@freebsd.org
Subject:   Problem with OPTIONS, USE_PHP and bsd.port.pre.mk
Message-ID:  <86vff9q76a.fsf@borg.borderworlds.dk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vff9q76a.fsf>