From owner-freebsd-java@FreeBSD.ORG Fri Jun 25 06:24:02 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5492816A4CE; Fri, 25 Jun 2004 06:24:02 +0000 (GMT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C78A43D46; Fri, 25 Jun 2004 06:24:01 +0000 (GMT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i5P6MQSi075168; Fri, 25 Jun 2004 09:22:26 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from [147.102.220.45] (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i5P6MLvR073568; Fri, 25 Jun 2004 09:22:22 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <40DBC49D.7070003@noc.ntua.gr> Date: Fri, 25 Jun 2004 09:22:21 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla Thunderbird 0.6 (X11/20040609) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Linimon References: <40CFFE0F.6040403@noc.ntua.gr> <20040623144934.GA69425@misty.eyesbeyond.com> <40DA9B4A.5080005@noc.ntua.gr> <200406242049.43722.linimon@lonesome.com> In-Reply-To: <200406242049.43722.linimon@lonesome.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org cc: Norikatsu Shigemura cc: freebsd-java@freebsd.org Subject: Re: An alternative Eclipse 3 port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 06:24:02 -0000 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