pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48919
The following reply was made to PR pkg/48919; it has been noted by GNATS.
From: David Sainty <dave%dtsp.co.nz@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: David Holland <dholland-pbugs%netbsd.org@localhost>,
pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
sighoya%gmail.com@localhost
Subject: Re: pkg/48919
Date: Wed, 25 Jun 2014 19:15:09 +1200
On 25/06/14 18:20, David Holland wrote:
> The following reply was made to PR pkg/48919; it has been noted by GNATS.
>
> From: David Holland <dholland-pbugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/48919
> Date: Wed, 25 Jun 2014 06:15:03 +0000
>
> On Mon, Jun 23, 2014 at 01:20:00PM +0000, Philip Miller wrote:
> > >> What do you see for: make show-var VARNAME=X11_TYPE
> > native
> > and another variable
> > X11BASE=/usr
>
> If you're using native X, which includes freetype2 and fontconfig, you
> shouldn't also be using the pkgsrc ones; this causes confusion.
>
> If pkgsrc refuses to use the native ones because they're too old (or
> "too old"), you're probably better off using pkgsrc X.
>
What I think is happening is: X11_TYPE=native, and the native library
has "png" support, but Pkgsrc does not realise this and does not arrange
for libpng to be available as it does for zlib and bzip2. This causes
"fontconfig" to fail at configure time because it detects that "libpng"
is not available via pkg-config.
But I'm not sure what the correct solution is. Possibly unconditionally
build-linking png on built-in usage, or possibly adding support to
explicitly check for the dependency and conditionally pull it in. But
then perhaps png needs to grow a builtin.mk too...
Home |
Main Index |
Thread Index |
Old Index