Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 1999 22:20:44 -0700 (PDT)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        jobaldwi@vt.edu (John Baldwin)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: revisiting Motif policy in ports
Message-ID:  <199904230520.WAA64167@troutmask.apl.washington.edu>
In-Reply-To: <XFMail.990423002249.jobaldwi@vt.edu> from John Baldwin at "Apr 23, 1999 00:22:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> That's why I install LessTif and then edit /etc/make.conf to define HAVE_MOTIF
> as yes.  No big deal there.  What are you asking for?  That the 'make install'
> portion of the port do that?

No.  If you don't have HAVE_MOTIF in /etc/make.conf, then you get:

cd /usr/ports/editors/nedit
make install
nedit-5.0.2 requires motif.

I think the last line should at least be changed to advertise
the availability of LessTif.

cd /usr/ports/editors/nedit
make install
nedit-5.0.2 requires motif.  LessTif is a LGPL implementation
of the Motif API.  A port is available in ports/x11-toolkits/lesstif.
See /etc/make.conf.


If you want to get fancy, then one could do

.if !exists(${PREFIX}/lib/libXm.so) && !defined(HAVE_MOTIF)
Go build lesstif and install
Set HAVE_MOTIF in the environment.
.endif
Continue with the building of nedit.
Echo 'You should set HAVE_MOTIF in /etc/make.conf'

This fancy one requires some thought because you don't want to 
blow away a valid Motif installation.

> 
> On 22-Apr-99 Steve Kargl wrote:
> > Hackers,
> > 
> > I've submitted a port of the latest release from the Hungry
> > Programmers of their LessTif effort.  In testing, lesstif-0.88.1,
> > I have compiled nedit, xmcd, amaya, xmaddressbook, llnlxdir, ddd,
> > and few other items in the ports collection.  These ports all
> > work fairly well with 0.88.1.  Although the Hungry Programmers
> > will state that LessTif is still in a development stage, it seems
> > to be an acceptable alternative if some one does not have Motif
> > installed on their system.  Thus, it may be time to revisit the
> > policy of HAVE_MOTIF in /etc/make.conf.
> > 
> > Currently, if HAVE_MOTIF is not defined, then the building of
> > a port exits with a message like "ddd-3.1.3 requires motif".
> > I think it might be appropriate to suggest that LessTif is
> > a viable alternative.
> > 
> > Opinions?
> > 
> > -- 
> > Steve
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
> 
> ---
> 
> John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/
> PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc
> "Power Users Use the Power to Serve!"  -  http://www.freebsd.org
> 


-- 
Steve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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