Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 20:31:54 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Peter Wu <peterwu@hotmail.com>, ports@FreeBSD.ORG
Subject:   Re: Fail to build XEmacs with GTK
Message-ID:  <20030314043154.GA94526@rot13.obsecurity.org>
In-Reply-To: <1047615404.66262.7.camel@shumai.marcuscom.com>
References:  <OE51K6qSX422M3fJTmh0000e396@hotmail.com> <1047615404.66262.7.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 13, 2003 at 11:16:45PM -0500, Joe Marcus Clarke wrote:
> On Thu, 2003-03-13 at 22:50, Peter Wu wrote:
> > Hello,
> >=20
> > I attempted to install XEmacs with GTK from ports but no luck. :(
> >=20
> > # cd /usr/ports/editors/xemacs-devel-mule
> > # make -DWANT_GTK
> >=20
> > It gives me some errors about
> >=20
> > "/usr/ports/Mk/bsd.gnomeng.mk", line 1: Malformed conditional
> > (${_USE_GNOME_ALL:Mgtk12}=3D=3D"")
> > "/usr/ports/Mk/bsd.gnomeng.mk", line 1: Need an operator
> > "/usr/ports/Mk/bsd.port.mk", line 4040: if-else endif
> > "/usr/ports/Mk/bsd.port.mk", line 4040: Need an operator
> > make: fatal errors encountered -- cannot continue
> >=20
> > I have the latest src and ports. Also, Gnome 2.2 was loaded last night,
> > too. What could be the problem? Thanks.
>=20
> This port's Makefile is wrong when it comes to GNOME.  The USE_GNOME
> stuff is after .include <bsd.port.pre.mk> which you shouldn't do (see
> the FreeBSD GNOME porter's guide).  If you move the whole .if
> defined(WANT_GTK) ... .endif block _above_ .include <bsd.port.pre.mk>,
> it will work.

Aren't you supposed to specify WITH_GTK (user-settable variable)
instead of WANT_GTK (internal, makefile-only variable)?

Kris

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+cVs6Wry0BWjoQKURAotdAKCgcBpbkL63bfdt2IrXkuIG4mJ4ewCg4Q45
jj5Z6GAeCGYIGRmFaatocmw=
=9XeV
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--

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?20030314043154.GA94526>