pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/defaults prefer native X modules for OpenBSD using ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23bf35c6e36d
branches:  trunk
changeset: 603815:23bf35c6e36d
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon May 14 02:22:03 2012 +0000

description:
prefer native X modules for OpenBSD using Xorg.

diffstat:

 mk/defaults/mk.conf |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6eb81fdaba92 -r 23bf35c6e36d mk/defaults/mk.conf
--- a/mk/defaults/mk.conf       Mon May 14 01:29:59 2012 +0000
+++ b/mk/defaults/mk.conf       Mon May 14 02:22:03 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.207 2012/03/21 15:48:00 wiz Exp $
+# $NetBSD: mk.conf,v 1.208 2012/05/14 02:22:03 obache Exp $
 #
 
 # This file provides default values for variables that may be overridden
@@ -199,6 +199,9 @@
 .if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/X11R7/lib/libX11.so))
 PREFER_PKGSRC?=
+.elif (!empty(MACHINE_PLATFORM:MOpenBSD-*-*) && \
+     exists(/usr/X11R6/lib/X11/config/xorgversion.def))
+PREFER_PKGSRC?=
 .elif !empty(MACHINE_PLATFORM:MDarwin-??.*-*) && \
       (!defined(X11_TYPE) || ${X11_TYPE} == "native")
 PREFER_PKGSRC?=



Home | Main Index | Thread Index | Old Index