summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-03 11:19:56 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-03 11:19:56 +0000
commit9c45d2df1621d98b68d5aa7f0957f9d791f3a784 (patch)
treea4bf68cdf146f35e832e03258e7571011432b933 /mk
parent9ad33696e2a84159d7f17d84b97df540209370e1 (diff)
downloadpkgsrc-9c45d2df1621d98b68d5aa7f0957f9d791f3a784.tar.gz
Keep PREFER_PKGSRC for NetBSD and native X11R7. Noticed by wiz.
Diffstat (limited to 'mk')
-rw-r--r--mk/defaults/mk.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 78bb529c04d..cac8f4e9d51 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.212 2012/07/03 10:22:52 joerg Exp $
+# $NetBSD: mk.conf,v 1.213 2012/07/03 11:19:56 joerg Exp $
#
# This file provides default values for variables that may be overridden
@@ -198,6 +198,7 @@ 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 \