tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Broken recursive builtin checks




To: tech-pkg%NetBSD.org@localhost

Subject: Broken recursive builtin checks

From: Matthias Scheler <tron%zhadum.org.uk@localhost>

Date: Sat, 5 Jan 2008 17:19:05 +0000


        Hello,

the makefile fragment "pkgsrc/fonts/Xft2/builtin.mk" contains these
checks:

# These are dependencies of Xft2.  If we need to use the pkgsrc
# versions of any of these, then also use the pkgsrc version of
# Xft2.
#
.if defined(USE_BUILTIN.Xrender) && !empty(USE_BUILTIN.Xrender:M[nN][oO])
USE_BUILTIN.Xft2=       no
.endif
.if defined(USE_BUILTIN.fontconfig) && !empty(USE_BUILTIN.fontconfig:M[nN][oO])
USE_BUILTIN.Xft2=       no
.endif


These checks do however not work because e.g. "USE_BUILTIN.fontconfig"
is not defined. The only way I work around this is to add ...

.include "../../fonts/fontconfig/builtin.mk"

... which seems very bogus to me.

This causes problems under Mac OS X Leopard where "Xft2" is good enough
for "pkgsrc" but "fontconfig" isn't. The "fontconfig" package correctly
decides not to use the builtin version but the "Xft2" package doesn't.

This problem is masked on most platforms because "PREFER_PKGSRC" contains
"fontconfig" and "Xft2".

Can somebody give me a clue how to fix this?

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/





Prev by Date: Re: Reducing the number of patches in pkgsrc

Next by Date: Re: Reducing the number of patches in pkgsrc

Previous by Thread: New pkgsrc variable: META_PACKAGE

Next by Thread: Need help with updates for "sun15-jre" and "sun15-jdk" package

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index