summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-03-29 00:30:16 +0000
committerxtraeme <xtraeme>2004-03-29 00:30:16 +0000
commit055df961b84f068d8f52b38ce8cedcce347d8813 (patch)
treec5462bf9c2e09a9418c9fc20207ddfc2703c7ce5 /meta-pkgs
parent5350af1d4405ad8234fcaf006aa66083eb7f78e5 (diff)
downloadpkgsrc-055df961b84f068d8f52b38ce8cedcce347d8813.tar.gz
Make sure X11_TYPE=XFree86 is defined before building X11 packages,
this will fix wrong binary packages made by bulk builds.
Diffstat (limited to 'meta-pkgs')
-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