pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Explicitly bail out if X11_TYPE=xorg is found.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c94fa02879d5
branches:  trunk
changeset: 532404:c94fa02879d5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Aug 18 00:30:21 2007 +0000

description:
Explicitly bail out if X11_TYPE=xorg is found.

diffstat:

 mk/bsd.pkg.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d19131144cb2 -r c94fa02879d5 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat Aug 18 00:20:56 2007 +0000
+++ b/mk/bsd.pkg.mk     Sat Aug 18 00:30:21 2007 +0000
@@ -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 @@
 #
 # 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))



Home | Main Index | Thread Index | Old Index