Problems with OPTIONS

Sergey Matveychuk sem at ciam.ru
Tue Feb 3 07:04:44 PST 2004


Sergey Matveychuk wrote:

> Hmmm. It's looks like I can't use WITH_QT, WITH_SSL this way because I 
> need them _before_ bsd.port.pre.mk but got them just _after_ it.
> 
> I've see no cute decision for this.

Whell. Only decision I can see - to separate OPTIONS stuff in other file 
- bsd.options.mk.

So it will be possible someting like:

OPTIONS=....

.include <bsd.options.mk>

.if defined(WITH_QT)
USE_QT_VER=	NN
.endif

.include <bsd.port.pre.mk>
....

-- 
Sem.


More information about the freebsd-ports mailing list