From owner-freebsd-hackers Thu Apr 22 22:25:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id B797F14FFB for ; Thu, 22 Apr 1999 22:25:22 -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 WAA64167; Thu, 22 Apr 1999 22:20:44 -0700 (PDT) (envelope-from sgk) From: Steve Kargl Message-Id: <199904230520.WAA64167@troutmask.apl.washington.edu> Subject: Re: revisiting Motif policy in ports In-Reply-To: from John Baldwin at "Apr 23, 1999 00:22:49 am" To: jobaldwi@vt.edu (John Baldwin) Date: Thu, 22 Apr 1999 22:20:44 -0700 (PDT) Cc: freebsd-hackers@freebsd.org 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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