summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-12-24 21:26:13 +0000
committerjmcneill <jmcneill>2008-12-24 21:26:13 +0000
commit914d8b4c579ef7091d91cf0b67f6202cab9c81f4 (patch)
tree6b2c1f88fdd957556308852debd9127f4e104d14 /meta-pkgs
parent7e0986cde9e1f875655bbe82f965c87bd23dfb7d (diff)
downloadpkgsrc-914d8b4c579ef7091d91cf0b67f6202cab9c81f4.tar.gz
Don't attempt to build gnome-mag if X11_TYPE=native and libXdamage isn't
provided.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/gnome/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-pkgs/gnome/Makefile b/meta-pkgs/gnome/Makefile
index 4bb90577a61..4efded107a3 100644
--- a/meta-pkgs/gnome/Makefile
+++ b/meta-pkgs/gnome/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2008/12/24 11:47:43 jmcneill Exp $
+# $NetBSD: Makefile,v 1.108 2008/12/24 21:26:13 jmcneill Exp $
DISTNAME= gnome-2.24.1.98
CATEGORIES= meta-pkgs x11 gnome
@@ -51,7 +51,9 @@ DEPENDS+= gnome-doc-utils>=0.14.0:../../textproc/gnome-doc-utils
DEPENDS+= gnome-games>=2.24.2:../../games/gnome-games
DEPENDS+= gnome-icon-theme>=2.24.0:../../graphics/gnome-icon-theme
DEPENDS+= gnome-keyring>=2.24.1:../../security/gnome-keyring
+.if ${X11_TYPE} != "native" || exists(${X11BASE}/lib/libXdamage.so)
DEPENDS+= gnome-mag>=0.15.4:../../x11/gnome-mag
+.endif
DEPENDS+= gnome-media>=2.24.0.1:../../multimedia/gnome-media
DEPENDS+= gnome-menus>=2.24.2:../../sysutils/gnome-menus
DEPENDS+= gnome-netstatus>=2.12.2:../../net/gnome-netstatus