summaryrefslogtreecommitdiff
path: root/wm/metacity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wm/metacity/Makefile')
-rw-r--r--wm/metacity/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/wm/metacity/Makefile b/wm/metacity/Makefile
index eb1b823d6d6..03c7178fcb9 100644
--- a/wm/metacity/Makefile
+++ b/wm/metacity/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/02/11 05:41:22 xtraeme Exp $
+# $NetBSD: Makefile,v 1.23 2004/02/12 11:13:39 jmmv Exp $
#
DISTNAME= metacity-2.6.3
@@ -26,6 +26,14 @@ PKGCONFIG_OVERRIDE= ${WRKSRC}/src/libmetacity-private.pc.in
GCONF2_SCHEMAS= metacity.schemas
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(${X11BASE}/lib/libXinerama.so)
+CONFIGURE_ENV+= USE_XINERAMA=yes
+.else
+CONFIGURE_ENV+= USE_XINERAMA=no
+.endif
+
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"