summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordholland <dholland>2008-09-08 07:02:52 +0000
committerdholland <dholland>2008-09-08 07:02:52 +0000
commit2fb9e96d3e8be323c0da7a581a30fac7df265afe (patch)
treefaed0c81522f7a73b0d4044ed79d03a23db53d4b /x11
parent8e0c67d00ca2bf22b1345abf6caae82bef7008a5 (diff)
downloadpkgsrc-2fb9e96d3e8be323c0da7a581a30fac7df265afe.tar.gz
Make these fail with a comprehensible error message when X11_TYPE != native.
Diffstat (limited to 'x11')
-rw-r--r--x11/Xfixes/Makefile5
-rw-r--r--x11/Xrender/Makefile5
2 files changed, 8 insertions, 2 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
diff --git a/x11/Xrender/Makefile b/x11/Xrender/Makefile
index 1a4083865e5..9a6c2970156 100644
--- a/x11/Xrender/Makefile
+++ b/x11/Xrender/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/01/03 22:12:25 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2008/09/08 07:02:52 dholland Exp $
DISTNAME= libXrender-0.9.0
PKGNAME= ${DISTNAME:S/lib//}
@@ -12,6 +12,9 @@ HOMEPAGE= http://fontconfig.org/
COMMENT= Client library for the X Rendering Extension protocol
CONFLICTS+= libXrender-[0-9]*
+.if "${X11_TYPE}" != "native"
+PKG_FAIL_REASON+="This package is for native X11 only; use libXrender instead."
+.endif
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir