summaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-09-07 10:06:22 +0000
committertron <tron@pkgsrc.org>2007-09-07 10:06:22 +0000
commitb5d4491d21e9bfbabb04f4087e6b973d4a58c612 (patch)
treed14d8f3fccfa72b47315c22ebd282a87ffd5db90 /multimedia/mplayer
parentdfa21108ce9a3b2045e57baf20a5f33b0c773086 (diff)
downloadpkgsrc-b5d4491d21e9bfbabb04f4087e6b973d4a58c612.tar.gz
Only try to build with "libXvMC" support if we use modular X.org.
This unbreaks the build under NetBSD using native X11.
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 92ec1a12ac8..6abb5f40199 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2007/09/06 18:11:57 abs Exp $
+# $NetBSD: Makefile,v 1.45 2007/09/07 10:06:22 tron Exp $
PKGNAME= mplayer-${MPLAYER_PKG_VERSION}
PKGREVISION= 8
@@ -26,7 +26,9 @@ do-install:
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
+.if ${X11_TYPE} == "modular"
.include "../../x11/libXvMC/buildlink3.mk"
+.endif
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"