Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 17:35:26 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Glenn Johnson <glennpj@charter.net>
Cc:        Jean-Marc Zucconi <jmz@FreeBSD.org>, 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
Message-ID:  <3AB8CA3B.5DE97174@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB8CA3B.5DE97174>