summaryrefslogtreecommitdiff
path: root/meta-pkgs/XFree86
diff options
context:
space:
mode:
Diffstat (limited to 'meta-pkgs/XFree86')
-rw-r--r--meta-pkgs/XFree86/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-pkgs/XFree86/Makefile.common b/meta-pkgs/XFree86/Makefile.common
index 562e61dbcf9..13e69363ec6 100644
--- a/meta-pkgs/XFree86/Makefile.common
+++ b/meta-pkgs/XFree86/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2004/03/28 22:06:16 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.6 2004/03/29 00:30:17 xtraeme Exp $
#
# XBUILD_DIRS is the group of directories under ${WRKSRC} that will
# be built in.
@@ -114,6 +114,12 @@ PLIST_SUBST+= FILEMAN_SUFFIX=${FILEMAN_SUFFIX}
PLIST_SUBST+= MISCMAN_DIR=${MISCMAN_DIR}
PLIST_SUBST+= MISCMAN_SUFFIX=${MISCMAN_SUFFIX}
+.if defined(CHECK_X11_TYPE)
+. if !defined(X11_TYPE) || empty(X11_TYPE:MXFree86)
+PKG_FAIL_REASON+= "X11_TYPE=XFree86 is mandatory."
+. endif
+.endif
+
NO_MTREE= # defined
X11ROOT_PREFIX?= X11R6