summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-18 00:30:21 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-18 00:30:21 +0000
commitb0a55e53601784f7fbb8d2f8427856fdffde387e (patch)
tree4a5ff0265ef671969aa86982a52cb8f357d6be12 /mk
parenta9278bdbcbdb56849e00115243db204df858e7aa (diff)
downloadpkgsrc-b0a55e53601784f7fbb8d2f8427856fdffde387e.tar.gz
Explicitly bail out if X11_TYPE=xorg is found.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 50a535226c6..9b9b3177882 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1921 2007/08/13 06:03:46 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1922 2007/08/18 00:30:21 joerg Exp $
#
# This file is in the public domain.
#
@@ -480,6 +480,12 @@ PATH= ${_PATH_CMD:sh} # DOES NOT use :=, to defer evaluation
#
# Don't build a package if it's broken.
################################################################
+.if ${X11_TYPE} == "xorg"
+PKG_FAIL_REASON+= "Support for X11_TYPE=xorg was removed."
+PKG_FAIL_REASON+= "Please switch to X11_TYPE=modular."
+X11_TYPE:= native
+X11BASE:= /usr
+.endif
.if !defined(NO_SKIP)
. if (defined(NO_BIN_ON_CDROM) && defined(FOR_CDROM))