diff options
author | dholland <dholland> | 2008-09-08 07:02:52 +0000 |
---|---|---|
committer | dholland <dholland> | 2008-09-08 07:02:52 +0000 |
commit | 7a7df623c2ea17101899a5f612a9a1ce79c2d7db (patch) | |
tree | faed0c81522f7a73b0d4044ed79d03a23db53d4b /x11/Xfixes | |
parent | 4abf1557718a5082c1bb1980ee04ac30ada1fe53 (diff) | |
download | pkgsrc-7a7df623c2ea17101899a5f612a9a1ce79c2d7db.tar.gz |
Make these fail with a comprehensible error message when X11_TYPE != native.
Diffstat (limited to 'x11/Xfixes')
-rw-r--r-- | x11/Xfixes/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/Xfixes/Makefile b/x11/Xfixes/Makefile index 256828d46e6..992f025c962 100644 --- a/x11/Xfixes/Makefile +++ b/x11/Xfixes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/02/22 19:27:25 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2008/09/08 07:02:52 dholland Exp $ # DISTNAME= libXfixes-2.0.1 @@ -13,6 +13,9 @@ HOMEPAGE= http://freedesktop.org/ COMMENT= X Fixes extension of X RandR CONFLICTS+= libXfixes-[0-9]* +.if "${X11_TYPE}" != "native" +PKG_FAIL_REASON+="This package is for native X11 only; use libXfixes instead." +.endif PKG_INSTALLATION_TYPES= overwrite pkgviews |