Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 1999 22:32:16 -0700 (PDT)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        chuckr@picnic.mat.net (Chuck Robey)
Cc:        wghicks@bellsouth.net (W Gerald Hicks), freebsd-ports@FreeBSD.ORG, wghicks@wghicks.bellsouth.net
Subject:   Re: revisiting Motif policy in ports
Message-ID:  <199904230532.WAA64192@troutmask.apl.washington.edu>
In-Reply-To: <Pine.BSF.4.10.9904222319050.378-100000@picnic.mat.net> from Chuck Robey at "Apr 22, 1999 11:26:11 pm"

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




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