From owner-freebsd-ports Thu Apr 22 22:38:13 1999 Delivered-To: freebsd-ports@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id 526B614FFB for ; Thu, 22 Apr 1999 22:38:10 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.3/8.9.1) id WAA64192; Thu, 22 Apr 1999 22:32:16 -0700 (PDT) (envelope-from sgk) From: Steve Kargl Message-Id: <199904230532.WAA64192@troutmask.apl.washington.edu> Subject: Re: revisiting Motif policy in ports In-Reply-To: from Chuck Robey at "Apr 22, 1999 11:26:11 pm" To: chuckr@picnic.mat.net (Chuck Robey) Date: Thu, 22 Apr 1999 22:32:16 -0700 (PDT) Cc: wghicks@bellsouth.net (W Gerald Hicks), freebsd-ports@FreeBSD.ORG, wghicks@wghicks.bellsouth.net X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chuck Robey wrote: > On Thu, 22 Apr 1999, W Gerald Hicks wrote: > > How about a new DEPENDS_MOTIF (supplied by a port) which might > > build lesstif if HAVE_MOTIF is not set? > > > > I agree that lesstif has become useful. (former skeptic) > > I would suggest that, if HAVE_MOTIF is not set, you want to prompt the > user that Motif was not detected, and then go ahead and build lesstif > automatically. You don't want to look down your noses at Motif (it's > not free, but that doesn't mean it has cooties). The prompt ought to > say something like: > > Motif libraries not detected (HAVE_MOTIF not defined). > Building lesstif as non-commercial substitute. > > I think that's pretty even handed. The idea is NOT to discourage Motif > sales, while offering an acceptable workaround for those who won't buy > Motif. We WANT commercial vendors, so we don't want to go around > insulting them. > Yes, exactly my thoughts. Nedit, ddd, and few other ports are very useful, and LessTif makes them functional. I brought this up for discussion because one needs to be careful to not blow away a valid Motif installation where a sys admin may have forgotten to set HAVE_MOTIF. I think we need (in some pseudo-make syntax), .if !defined(HAVE_MOTIF) .if !exists(${PREFIX}/lib/libXm.a) build LessTif echo 'LessTif is known to contain some difference from Motif' echo 'See http://www.lesstif.org' .endif .endif -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message