USE_QT_VER after including

Oliver Eikemeier eikemeier at
Mon May 3 08:43:51 PDT 2004

Michael Nottebrock wrote:

> On Monday 03 May 2004 14:45, Oliver Eikemeier wrote:
>>Volker Stolz wrote:
>>>For one of my ports, portlint now complaints:
>>>FATAL: Makefile [61]: USE_QT_VER is set after including
>>>I'm really at a loss on how to fix this, since USE_QT_VER depends on
>>>OPTIONS in my case. Is there something like an approved workaround?
>>>E.g. splitting this in master/slave(s)?
>>A fix would be son-of-PR 64233, but currently that's far behind in my
>>queue, because it's absolutely no fun to work on it.
> So why was portlint changed prematurely? Surely confusing port maintainers 
> serves no purpose?

It wasn't changed prematurely. You have to specify USE_QT_VER *before*
including, using OPTIONS or not. OTOH, you can only
check OPTIONS *after* including

IMHO both are bugs in, see also the discussion in PR 57496.
As a workaround I (personally) refrain from using OPTIONS in my ports
until the problems are fixed.


More information about the freebsd-ports mailing list