Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 09:22:21 +0300
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        Mark Linimon <linimon@lonesome.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: An alternative Eclipse 3 port
Message-ID:  <40DBC49D.7070003@noc.ntua.gr>
In-Reply-To: <200406242049.43722.linimon@lonesome.com>
References:  <40CFFE0F.6040403@noc.ntua.gr> <20040623144934.GA69425@misty.eyesbeyond.com> <40DA9B4A.5080005@noc.ntua.gr> <200406242049.43722.linimon@lonesome.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon wrote:
>>I picked the former (WITH_MOTIF), since the latter is apparently
>>forbidden from the following snippet in open-motif/Makefile (on which we
>>depend):
>>
>>.ifdef USE_MOTIF
>>.error You have `USE_MOTIF' variable defined either in environment or in
>>make(1) arguments. Please undefine and try again.
>>.endif
> 
> 
> The WITH_* variables are intended to be user settable.  The USE_* variables
> are intended to be set only by the ports framework.

That's what I figured too, by skimming through the ports tree (USE_MOTIF 
is never used in an if clause).

> The use of .error is a bug in this case.  If someone sets USE_MOTIF in
> /etc/make.conf (which should _not_ have USE_* variables set, but ...),
> then 'make index' will fail, and probably 'make search' as well.
> 
> The correct usage AFAICT is to set the IGNORE Makevar instead of using
> .error, in all cases.
> 
> Is it really true that Eclipse is intended as a slave port of open-motif?  Or
> is this just a case of trying to reuse common code?

The latter actually, I was looking for prior art. Not that I found it 
though. There are instances of WITHOUT_MOTIF (e.g. kdebase), but no 
WITH_MOTIF that I could find.

Thanks for the clarification,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40DBC49D.7070003>