diff options
author | tron <tron@pkgsrc.org> | 2009-09-13 13:28:46 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-09-13 13:28:46 +0000 |
commit | 2eafe6b8084fb0a5ad12fce05dcbaafd3fa9aaa6 (patch) | |
tree | 1a777d5059ce7b4fdb086fa7e8f074813747791f /mk/defaults | |
parent | 1fba68cc083ccbacf2865f16ae297f969ba87314 (diff) | |
download | pkgsrc-2eafe6b8084fb0a5ad12fce05dcbaafd3fa9aaa6.tar.gz |
Add support for X.org bundled with Mac OS X Snow Leopard.
Diffstat (limited to 'mk/defaults')
-rw-r--r-- | mk/defaults/mk.conf | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index 6999d267467..9dfc783c483 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.185 2009/08/05 22:14:28 minskim Exp $ +# $NetBSD: mk.conf,v 1.186 2009/09/13 13:28:46 tron Exp $ # # This file provides default values for variables that may be overridden @@ -206,12 +206,15 @@ PKGSRC_RUN_TEST?= no .if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \ exists(/usr/X11R7/lib/libX11.so)) PREFER_PKGSRC?= -.elif empty(MACHINE_PLATFORM:MDarwin-9.*-*) || \ - (defined(X11_TYPE) && ${X11_TYPE} != "native") +.elif !empty(MACHINE_PLATFORM:MDarwin-??.*-*) && \ + (!defined(X11_TYPE) || ${X11_TYPE} == "native") +PREFER_PKGSRC?= +.elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) && \ + (!defined(X11_TYPE) || ${X11_TYPE} == "native") +PREFER_PKGSRC?= fontconfig pixman Xft2 +.else PREFER_PKGSRC?= MesaLib Xft2 Xrandr Xrender expat fontconfig \ freetype2 glu randrproto renderproto xcursor -.else -PREFER_PKGSRC?= fontconfig pixman Xft2 .endif PREFER_NATIVE?= yes # |