summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-09-14 15:07:12 +0000
committertron <tron@pkgsrc.org>2006-09-14 15:07:12 +0000
commit3a4cd0366f8414905e2fa8d384e81c6f246f26e9 (patch)
tree9adf23d0b46a0b54f684f5470a7afd3faebc9acc /fonts
parentd028c0759f7047631f850ceec15b48c87d8314a2 (diff)
downloadpkgsrc-3a4cd0366f8414905e2fa8d384e81c6f246f26e9.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