summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-05-06 03:14:12 +0000
committerreed <reed@pkgsrc.org>2006-05-06 03:14:12 +0000
commit68534040b4a1f4a9629e0fbbe81992858b99191d (patch)
tree0ab3b550acfbfaaea0943d5362a3c8607d79a02b /meta-pkgs
parentf09dd7da4931defe6e05b453e4700001b35cce14 (diff)
downloadpkgsrc-68534040b4a1f4a9629e0fbbe81992858b99191d.tar.gz
Make CHECK_X11_TYPE really work by checking for setting and not
just if defined. (Recently I build the xorg-server without xorg-libs.)
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/xorg/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common
index bbcb9ceeeed..4d7f237b38e 100644
--- a/meta-pkgs/xorg/Makefile.common
+++ b/meta-pkgs/xorg/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2006/04/22 09:22:11 rillig Exp $
+# $NetBSD: Makefile.common,v 1.40 2006/05/06 03:14:12 reed Exp $
#
# XBUILD_DIRS is the group of directories under ${WRKSRC} that will
# be built in.
@@ -143,7 +143,7 @@ PLIST_SUBST+= MISCMAN_SUFFIX=${MISCMAN_SUFFIX}
CHECK_X11_TYPE?= yes
-.if defined(CHECK_X11_TYPE)
+.if defined(CHECK_X11_TYPE) && !empty(CHECK_X11_TYPE:M[Yy][Ee][Ss])
. if !defined(X11_TYPE) || empty(X11_TYPE:Mxorg)
PKG_SKIP_REASON+= "X11_TYPE=xorg is mandatory."
. endif