From owner-freebsd-ports Wed Mar 13 6: 3:36 2002 Delivered-To: freebsd-ports@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id B6A8E37B404 for ; Wed, 13 Mar 2002 06:03:29 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 13 Mar 2002 09:03:23 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id A2FBABA05; Wed, 13 Mar 2002 09:03:21 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Calvin NG Subject: Re: Mozilla and FreeType2 Date: Wed, 13 Mar 2002 09:03:21 -0500 X-Mailer: KMail [version 1.3] Cc: "jochem@CC40670-a.groni1.gr.nl.home.com" , ports@FreeBSD.ORG References: <20020313140456.D18729@brel.com> <20020313061656.E7729BB35@i8k.babbleon.org> <20020313142924.E18729@brel.com> In-Reply-To: <20020313142924.E18729@brel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020313140321.A2FBABA05@i8k.babbleon.org> 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 On Wednesday 13 March 2002 01:29 am, Calvin NG wrote: | Greetings, | | Actually that is already defined somewhere. | It will only pose a problem if both ports freetype and freetype2 | is installed. | | Then will actually include the wrong | header, probably because the one for port freetype is earlier | in the search path. Good point. It'd have to CFLAGS = -I/usr/local/include/freetype2 $CFLAGS to get the order right . . . | | hmmm, so I found it safest in my case to do what I did. | For those who does not have port freetype, nothing need to | be done at all, if I am not wrong. | | Now that I think about it, perhaps its not necessary to | send-pr for this. I guess only a few minority will encounter | this problem. | | PS: the mozilla 0.9.9 port is still compiling ;-) | Cheers, | /calvin | | lines with :> are quotes from Brian T.Schellenberger's email | | :> Surely it would be easier to fix this with something like | :> | :> CFLAGS += -I/usr/local/include/freetype2 | :> | :> in the Makefile? | :> | :> On Wednesday 13 March 2002 01:04 am, Calvin NG wrote: | :> | Greetings, | :> | | :> | I saw your post regarding problem compiling Mozilla 0.9.9. | :> | I encountered exactly the same error as you did. | :> | | :> | I have traced down to some problems with the freetype2 port. | :> | I have the latest freetype2 port freetype2-2.0.9/ | :> | One of the header file is wrong. It is, | :> | /usr/local/include/freetype2/freetype/config/ftheader.h | :> | | :> | basically the path is defined wrongly, all #defines | :> | with path should be replaced with | :> | , yes, the freetype2 part | :> | of the path is missing, and causing the wrong header file | :> | from the freetype port to be included, (freetype.h), thus | :> | causing the error we are seeing. | :> | | :> | The unified diffs follows, can you send a pr for this | :> | please, I am cc: this to the freebsd-ports mailing list | :> | which I am not subscribed to. Hopefully the maintainer | :> | of port freetype2 will see this. | :> | | :> | Regards, | :> | /calvin | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-ports" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message