Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 20:49:43 -0500
From:      Mark Linimon <linimon@lonesome.com>
To:        freebsd-java@freebsd.org
Cc:        Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: An alternative Eclipse 3 port
Message-ID:  <200406242049.43722.linimon@lonesome.com>
In-Reply-To: <40DA9B4A.5080005@noc.ntua.gr>
References:  <40CFFE0F.6040403@noc.ntua.gr> <20040623144934.GA69425@misty.eyesbeyond.com> <40DA9B4A.5080005@noc.ntua.gr>

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

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?

mcl



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