Date: 13 Mar 2003 23:34:13 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Kris Kennaway <kris@obsecurity.org> Cc: Peter Wu <peterwu@hotmail.com>, ports@FreeBSD.ORG Subject: Re: Fail to build XEmacs with GTK Message-ID: <1047616453.66262.10.camel@shumai.marcuscom.com> In-Reply-To: <20030314043154.GA94526@rot13.obsecurity.org> References: <OE51K6qSX422M3fJTmh0000e396@hotmail.com> <1047615404.66262.7.camel@shumai.marcuscom.com> <20030314043154.GA94526@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-EK/iXPwWuVU1VL+Vds8K Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-03-13 at 23:31, Kris Kennaway wrote: > 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 nigh= t, > > > 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. >=20 > Aren't you supposed to specify WITH_GTK (user-settable variable) > instead of WANT_GTK (internal, makefile-only variable)? Technically you're right, Kris. However, WITH/WANT_GTK are deprecated, and, in this case, not conflicting. So, while you technically shouldn't do this, it isn't the cause of the problem. The location of USE_GNOME is the real culprit. Ideally, the port should be changed to WANT_GNOME, and check for gtk12, then set variables accordingly. Joe >=20 > Kris --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-EK/iXPwWuVU1VL+Vds8K Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+cVvFb2iPiv4Uz4cRAtjuAJ4u98AYv6O/iALrIDhXRACzTkl5fQCfSG/Q lvtj1Bq44WE3fp1V1BCGpdU= =Lx4h -----END PGP SIGNATURE----- --=-EK/iXPwWuVU1VL+Vds8K-- 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?1047616453.66262.10.camel>