pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/fontconfig Specify architecture with "--with-arc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c64deebaaf8
branches:  trunk
changeset: 518603:5c64deebaaf8
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Sep 14 15:07:12 2006 +0000

description:
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:

 fonts/fontconfig/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r ca99a62096a2 -r 5c64deebaaf8 fonts/fontconfig/Makefile
--- a/fonts/fontconfig/Makefile Thu Sep 14 14:48:27 2006 +0000
+++ b/fonts/fontconfig/Makefile Thu Sep 14 15:07:12 2006 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index