diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-03-29 00:30:16 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-03-29 00:30:16 +0000 |
commit | 4636f9b66363fde86ed9483edbf0be3b495b58f4 (patch) | |
tree | c5462bf9c2e09a9418c9fc20207ddfc2703c7ce5 /meta-pkgs | |
parent | 141f67cbf791801be85a040fbeb16536af540aea (diff) | |
download | pkgsrc-4636f9b66363fde86ed9483edbf0be3b495b58f4.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.common | 8 |
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 |