diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-02-12 11:13:39 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-02-12 11:13:39 +0000 |
commit | 3684c54418b6245690a555cdf913e1e16f6adf71 (patch) | |
tree | 1df1907bd538c67a9d3cf2791463f208e84c6e14 /wm/metacity/Makefile | |
parent | 1db7d040be8ddbbceedc45d9fe29ba3d2758230f (diff) | |
download | pkgsrc-3684c54418b6245690a555cdf913e1e16f6adf71.tar.gz |
Only use Xinerama if it is available as a shared library. Using only the
static one means that libnautilus-private won't be built, breaking this
(and other) packages. Patch tested by wiz@.
Diffstat (limited to 'wm/metacity/Makefile')
-rw-r--r-- | wm/metacity/Makefile | 10 |
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" |