From owner-freebsd-gnome Tue Mar 12 20:11:12 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from aerotus.media-w.com (aerotus.media-w.com [210.249.47.138]) by hub.freebsd.org (Postfix) with ESMTP id F326137B41B; Tue, 12 Mar 2002 20:11:03 -0800 (PST) Received: from excalibur.nobutaka.com (pl176.nas921.m-hiroshima.nttpc.ne.jp [210.153.226.176]) by aerotus.media-w.com (8.11.6/8.11.5) with ESMTP id g2D4Ato63526; Wed, 13 Mar 2002 13:10:56 +0900 (JST) (envelope-from nobutaka@nobutaka.com) Date: Wed, 13 Mar 2002 13:09:45 +0900 Message-ID: <86pu29ds6u.wl@excalibur.nobutaka.com> From: MANTANI Nobutaka To: Muhannad Asfour Cc: sobomax@FreeBSD.ORG, gnome@FreeBSD.ORG Subject: Re: Mozilla 0.9.9 won't build In-Reply-To: <1015973629.291.19.camel@ergo.dhs.org> References: <1015973629.291.19.camel@ergo.dhs.org> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (SAKAKI) X-Face: &df%eT@l7@[A)naO}g|xRNd"u7dRB?C&!'{Nmcx6z`t$b!/${7)q7=$t;@z(5{)1-z%ympi' MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, At 12 Mar 2002 17:53:43 -0500, Muhannad Asfour wrote: > > I receive the following error when trying to build mozilla 0.9.9, any > help would be greatly appreciated: > > In file included from ../x11shared/nsAntiAliasedGlyph.h:9, > from nsAntiAliasedGlyph.cpp:47: > /usr/local/include/freetype2/freetype/ftglyph.h:104: syntax error before > `;' > [snip] This error is caused by including header files of freetype-1.x and freetype-2.x jumblingly. Setting the include path ${LOCALBASE}/include/freetype2 prior to ${LOCALBASE}/include can avoid the error. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mozilla/Makefile,v retrieving revision 1.83 diff -u -r1.83 Makefile --- Makefile 12 Mar 2002 18:16:06 -0000 1.83 +++ Makefile 13 Mar 2002 04:06:42 -0000 @@ -72,6 +72,9 @@ MOZ_INTERNAL_LIBART_LGPL=1 ALL_TARGET= default +post-patch: + ${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/config/config.mk + post-build: ${SED} -e "s;@PREFIX@;${PREFIX};g" \ ${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla Index: files/patch-config::config.mk =================================================================== RCS file: files/patch-config::config.mk diff -N files/patch-config::config.mk --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-config::config.mk 13 Mar 2002 04:06:42 -0000 @@ -0,0 +1,11 @@ +--- config/config.mk.orig Wed Mar 13 06:36:07 2002 ++++ config/config.mk Wed Mar 13 06:42:18 2002 +@@ -503,7 +503,7 @@ + + REQ_INCLUDES = $(foreach d,$(REQUIRES),-I$(DIST)/include/$d) + +-INCLUDES = $(LOCAL_INCLUDES) $(REQ_INCLUDES) -I$(PUBLIC) -I$(DIST)/include $(OS_INCLUDES) ++INCLUDES = -I%%LOCALBASE%%/include/freetype2 $(LOCAL_INCLUDES) $(REQ_INCLUDES) -I$(PUBLIC) -I$(DIST)/include $(OS_INCLUDES) + + LIBNT = $(DIST)/lib/libnt.$(LIB_SUFFIX) + LIBAWT = $(DIST)/lib/libawt.$(LIB_SUFFIX) -- MANTANI Nobutaka nobutaka@FreeBSD.org, nobutaka@nobutaka.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message