summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authortron <tron>2006-09-14 15:07:12 +0000
committertron <tron>2006-09-14 15:07:12 +0000
commitaa2cafa9705f7da4e752100bf1b653553e976f6a (patch)
tree9adf23d0b46a0b54f684f5470a7afd3faebc9acc /fonts
parent8e1d0dc076551f337b7a541ed9c8889b56a03abe (diff)
downloadpkgsrc-aa2cafa9705f7da4e752100bf1b653553e976f6a.tar.gz
Specify architecture with "--with-arch" under Mac OS X because the
auto detection is broken. Fix based on a suggestion by Mark E. Perkins. This fixes PR pkg/34509.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontconfig/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile
index 31d287348b6..ad74c18b7d6 100644
--- a/fonts/fontconfig/Makefile
+++ b/fonts/fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2006/09/11 18:53:16 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2006/09/14 15:07:12 tron Exp $
DISTNAME= fontconfig-2.4.0
CATEGORIES= fonts
@@ -29,10 +29,14 @@ CONFIGURE_ENV+= HASDOCBOOK=no
.include "../../mk/bsd.prefs.mk"
-.if (${X11BASE} != ${LOCALBASE})
+.if ${X11BASE} != ${LOCALBASE}
CONFIGURE_ARGS+= --with-add-fonts=${X11BASE}/lib/X11/fonts
.endif
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --with-arch=${MACHINE_ARCH}
+.endif
+
EGDIR= ${PREFIX}/share/examples/fontconfig
CONF_FILES= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf
CONF_FILES+= ${EGDIR}/fonts.dtd ${PKG_SYSCONFDIR}/fonts.dtd