diff options
author | joerg <joerg> | 2012-07-03 10:22:52 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-07-03 10:22:52 +0000 |
commit | 829d7207c7053fc249f869391bc7730822162459 (patch) | |
tree | 383be3ecba2432e0c457b151f80fec8a5660c15e /mk | |
parent | 5c4cefb30f6ed0bd15f6ebe641922f1ee467fbd9 (diff) | |
download | pkgsrc-829d7207c7053fc249f869391bc7730822162459.tar.gz |
Do not prefer expat on NetBSD, if the base system has it.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defaults/mk.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index e72857afc0e..78bb529c04d 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.211 2012/06/17 14:22:44 wiz Exp $ +# $NetBSD: mk.conf,v 1.212 2012/07/03 10:22:52 joerg Exp $ # # This file provides default values for variables that may be overridden @@ -198,7 +198,10 @@ PKGSRC_RUN_TEST?= no .if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \ exists(/usr/X11R7/lib/libX11.so)) -PREFER_PKGSRC?= +.elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \ + exists(/usr/lib/libexpat.so)) +PREFER_PKGSRC?= MesaLib Xft2 Xrandr Xrenderfontconfig \ + freetype2 glu randrproto renderproto xcursor .elif (!empty(MACHINE_PLATFORM:MOpenBSD-*-*) && \ exists(/usr/X11R6/lib/X11/config/xorgversion.def)) PREFER_PKGSRC?= |