From a8c1b6a0c0a52d55f58e5ed39233454a43653a96 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 29 Mar 2004 00:30:16 +0000 Subject: Make sure X11_TYPE=XFree86 is defined before building X11 packages, this will fix wrong binary packages made by bulk builds. --- meta-pkgs/XFree86/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'meta-pkgs') 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 -- cgit v1.2.3