USE_QT_VER after including bsd.port.pre.mk?
eikemeier at fillmore-labs.com
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 : USE_QT_VER is set after including bsd.port.pre.mk.
>>>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 bsd.port.pre.mk, using OPTIONS or not. OTOH, you can only
check OPTIONS *after* including bsd.port.pre.mk.
IMHO both are bugs in bsd.port.mk, 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