From owner-freebsd-ports Thu Mar 13 20:34:21 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5F5B37B401 for ; Thu, 13 Mar 2003 20:34:19 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id A98AF43FB1 for ; Thu, 13 Mar 2003 20:34:18 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.8/8.12.8) with ESMTP id h2E4XbrI023789; Thu, 13 Mar 2003 23:33:37 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: Fail to build XEmacs with GTK From: Joe Marcus Clarke To: Kris Kennaway Cc: Peter Wu , ports@FreeBSD.ORG In-Reply-To: <20030314043154.GA94526@rot13.obsecurity.org> References: <1047615404.66262.7.camel@shumai.marcuscom.com> <20030314043154.GA94526@rot13.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EK/iXPwWuVU1VL+Vds8K" Organization: MarcusCom, Inc. Message-Id: <1047616453.66262.10.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 13 Mar 2003 23:34:13 -0500 X-Spam-Status: No, hits=-33.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-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 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 , > > 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