From 6eaa37b67d5a294307b1189fd6cac43db6d12abf Mon Sep 17 00:00:00 2001 From: dbj Date: Mon, 12 Apr 2004 15:41:27 +0000 Subject: [PATCH] add -DDARWIN_NO_CARBON to HOST_CPPFLAGS so that cross build on macos will not attempt to use mac specific resource fork font support. --- x11/tools/mkfontscale/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x11/tools/mkfontscale/Makefile b/x11/tools/mkfontscale/Makefile index 1cb3c9149ad9..da324a3a6631 100644 --- a/x11/tools/mkfontscale/Makefile +++ b/x11/tools/mkfontscale/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/04/12 03:11:00 dbj Exp $ +# $NetBSD: Makefile,v 1.4 2004/04/12 15:41:27 dbj Exp $ NOMAN= 1 @@ -55,6 +55,10 @@ HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \ -I${X11SRCDIR.xc}/lib/font/include \ -I${X11SRCDIR.xc}/include/fonts +# This tells a cross build on darwin not to bother with +# resource fork font support which needs the carbon libraries. +HOST_CPPFLAGS+= -DDARWIN_NO_CARBON + SRCS= ${SRCS.mkfontscale} ${SRCS.freetype} ${SRCS.fontenc} LDADD= -lz