diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-30 08:24:20 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-30 08:24:20 +0000 |
commit | c1e73d3cf3b7dd92ebcd9e889a8343a41549e677 (patch) | |
tree | bfbb43949f027baeb944ce3832f4792ec448486b /meta-pkgs | |
parent | 0cfedd6db1de31e305042a822f479dcbd5a73ceb (diff) | |
download | pkgsrc-c1e73d3cf3b7dd92ebcd9e889a8343a41549e677.tar.gz |
Define CHECK_X11_TYPE, which is needed to be sure that all packages
will be installed into the proper location, otherwise X11ROOT_PREFIX
might be empty!
Diffstat (limited to 'meta-pkgs')
-rw-r--r-- | meta-pkgs/XFree86/Makefile.common | 4 | ||||
-rw-r--r-- | meta-pkgs/xorg/Makefile.common | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/meta-pkgs/XFree86/Makefile.common b/meta-pkgs/XFree86/Makefile.common index 12b2213e9e8..646273e283b 100644 --- a/meta-pkgs/XFree86/Makefile.common +++ b/meta-pkgs/XFree86/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.15 2004/07/30 07:48:56 xtraeme Exp $ +# $NetBSD: Makefile.common,v 1.16 2004/07/30 08:24:20 xtraeme Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. @@ -103,6 +103,8 @@ PLIST_SUBST+= FILEMAN_SUFFIX=${FILEMAN_SUFFIX} PLIST_SUBST+= MISCMAN_DIR=${MISCMAN_DIR} PLIST_SUBST+= MISCMAN_SUFFIX=${MISCMAN_SUFFIX} +CHECK_X11_TYPE?= yes + .if defined(CHECK_X11_TYPE) . if !defined(X11_TYPE) || empty(X11_TYPE:MXFree86) PKG_FAIL_REASON+= "X11_TYPE=XFree86 is mandatory." diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common index daffb69e260..2377f102b60 100644 --- a/meta-pkgs/xorg/Makefile.common +++ b/meta-pkgs/xorg/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2004/07/30 07:48:56 xtraeme Exp $ +# $NetBSD: Makefile.common,v 1.5 2004/07/30 08:24:20 xtraeme Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. @@ -95,6 +95,8 @@ PLIST_SUBST+= FILEMAN_SUFFIX=${FILEMAN_SUFFIX} PLIST_SUBST+= MISCMAN_DIR=${MISCMAN_DIR} PLIST_SUBST+= MISCMAN_SUFFIX=${MISCMAN_SUFFIX} +CHECK_X11_TYPE?= yes + .if defined(CHECK_X11_TYPE) . if !defined(X11_TYPE) || empty(X11_TYPE:Mxorg) PKG_FAIL_REASON+= "X11_TYPE=xorg is mandatory." |