From owner-freebsd-ports Wed Mar 21 7:36:52 2001 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 0BD5537B71E; Wed, 21 Mar 2001 07:36:04 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f2LFZ8j08441; Wed, 21 Mar 2001 17:35:08 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.3/8.11.2) with ESMTP id f2LFZAe69376; Wed, 21 Mar 2001 17:35:10 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3AB8CA3B.5DE97174@FreeBSD.org> Date: Wed, 21 Mar 2001 17:35:26 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Glenn Johnson Cc: Jean-Marc Zucconi , ports@FreeBSD.org Subject: Re: cvs commit: ports/x11/XFree86-4 Makefile distinfo pkg-plistpkg-plist.alpha pkg-plist.pc98 ports/x11/XFree86-4/files patch-dpatch-xthreads ports/x11/XFree86-4/scripts configure References: <200103180320.f2I3KvI95990@freefall.freebsd.org> <3AB5CD9E.5C20D418@FreeBSD.org> <200103191833.f2JIX7G70854@freefall.freebsd.org> <20010319215449.A3150@gforce.homelan.net> <3AB71A94.82332C11@FreeBSD.org> <200103201422.f2KEMKR57031@freefall.freebsd.org> <20010320232224.A69358@gforce.homelan.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Glenn Johnson wrote: > On Tue, Mar 20, 2001 at 06:22:20AM -0800, Jean-Marc Zucconi wrote: > > > >>>>> Maxim Sobolev writes: > > > > > > >> It seems that the following are missing from the XFree86-4.0.3 > > >> port after comparing it's plist with that of freetype2: > > >> > > >> include/freetype2/freetype/internal/internal.h bin/freetype-config > > > > > It is another strong reason why it is better to use stock > > > freetype2 port inistead of rollins XFree86 own version. This would > > > essentially broke ports that have freetype2 shared library in > > > LIB_DEPENDS and expect to be able to use freetype-config to get > > > freetype2 compilation settings. > > > > > Jean-Marc, please either fix XFree86-4 to install *all* freetype2 > > > files or teach it how to use freetype2 library from the > > > corresponding port. > > I just checked the plists again and internal.h _is_ there. I could have > sworn it was not listed last night. However, freetype-config is not > installed. > > > There is no reason to do that. Freetype2 installs itself in /usr/local > > and there is only one freetype-config executable. So ports depending > > on the freetype2 port will get a correct config. > > This is not true if the freetype2 port is not already installed because > the dependency check is most likely against the library and that would > be satisfied by XFree-4.0.3. The freetype-config script would not be > present on the system in this scenario. > > I uninstalled both the freetype2 port and XFree-4.0.3 and made sure all > of the freetype2 stuff was gone from my system. I then reinstalled > XFree-4.0.3. I then tried to build ImageMagick, which depends on > freetype2, to see if it would break. It does, here is the relevant part > of the output: > > cc -DHAVE_CONFIG_H -I../ -I.. -I/usr/local/include/libxml2 > -I/usr/local/include/libxml2/libxml -I/usr/local/include -I/usr/local/include > -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O -pipe -march=k6 -c annotate.c > -Wp,-MD,.deps/annotate.TPlo -fPIC -DPIC -o .libs/annotate.lo > annotate.c:65: freetype/ftglyph.h: No such file or directory > annotate.c:66: freetype/ftoutln.h: No such file or directory > annotate.c:789: syntax error before `*' > > Reinstalling the freetype2 port fixes this, I presume because it adds > the freetype-config script which instructs where to find the include > files. It is exactly what I was warning about yesterday. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message