summaryrefslogtreecommitdiff
path: root/fonts/fontconfig
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2003-10-29 05:45:15 +0000
committerreed <reed@pkgsrc.org>2003-10-29 05:45:15 +0000
commit56db3dd8c9ba9a0c3e5dbefac1d072c144c16149 (patch)
tree65364e3f9421604b516b1f6f3d15d9992e7ac9be /fonts/fontconfig
parent3878cc7fbfcbbe59b00658165195f03d76757de9 (diff)
downloadpkgsrc-56db3dd8c9ba9a0c3e5dbefac1d072c144c16149.tar.gz
Just in case, fontconfig is built before X fonts are installed,
have some defaults for fonts.conf (/usr/X11R6/lib/X11/fonts/TTF and /usr/X11R6/lib/X11/fonts/Type1). I didn't bump PKGREVISION, because in many cases this will be the same as if it configure figured it out. I also considered adding TrueType and freefont, but they aren't included with default XFree86 installation. Also, I didn't include other font directories, because fontconfig's directory says it's for outline fonts (.pf*, .tt* and .ot*) and to use local.conf or ~/.fonts.conf for bitmap fonts. This closes PR #22927 where fontconfig's fc-cache has missing directories causing font information caches to not be built (using defaults).
Diffstat (limited to 'fonts/fontconfig')
-rw-r--r--fonts/fontconfig/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile
index 5d16932d48c..81d5aeb1d45 100644
--- a/fonts/fontconfig/Makefile
+++ b/fonts/fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/10/11 13:40:19 grant Exp $
+# $NetBSD: Makefile,v 1.18 2003/10/29 05:45:15 reed Exp $
#
DISTNAME= fontconfig-2.2.1
@@ -32,6 +32,7 @@ CONFIGURE_ARGS+= --with-expat-includes=${BUILDLINK_PREFIX.expat}/include
CONFIGURE_ARGS+= --with-expat-lib=${BUILDLINK_PREFIX.expat}/lib
CONFIGURE_ARGS+= --with-confdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-x
+CONFIGURE_ARGS+= --with-add-fonts=${X11PREFIX}/lib/X11/fonts/TTF,${X11PREFIX}/lib/X11/fonts/Type1
EGDIR= ${PREFIX}/share/examples/fontconfig
CONF_FILES= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf