add -DDARWIN_NO_CARBON to HOST_CPPFLAGS so that cross build on macos

will not attempt to use mac specific resource fork font support.
This commit is contained in:
dbj 2004-04-12 15:41:27 +00:00
parent 01e95b11cc
commit 6eaa37b67d

View File

@ -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