X11 is located in "/usr/X11" under Mac OS X Leopard, "/usr/X11R6" is just

a symlink. Use the correct directory because the buildlink framework will
otherwise remove compiler options like "-I/usr/X11/include/pixman-1".
This commit is contained in:
tron 2008-09-16 11:40:10 +00:00
parent 291fb47729
commit ed5b1cca8d

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.prefs.mk,v 1.286 2008/06/22 16:25:32 tnn Exp $
# $NetBSD: bsd.prefs.mk,v 1.287 2008/09/16 11:40:10 tron Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@ -491,6 +491,8 @@ X11_TYPE?= native
X11BASE?= /usr/openwin
. elif ${OPSYS} == "IRIX" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX"
X11BASE?= /usr
. elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*)
X11BASE?= /usr/X11
. else
X11BASE?= /usr/X11R6
. endif