diff options
author | tron <tron> | 2007-09-07 10:06:22 +0000 |
---|---|---|
committer | tron <tron> | 2007-09-07 10:06:22 +0000 |
commit | 4a0875f49ee50df6227ff7e5c5c417e66ac53ada (patch) | |
tree | d14d8f3fccfa72b47315c22ebd282a87ffd5db90 /multimedia | |
parent | 25e45ea7eb4127f30d4f89b54533032b11be06c6 (diff) | |
download | pkgsrc-4a0875f49ee50df6227ff7e5c5c417e66ac53ada.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')
-rw-r--r-- | multimedia/gmplayer/Makefile | 4 | ||||
-rw-r--r-- | multimedia/mplayer/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/gmplayer/Makefile b/multimedia/gmplayer/Makefile index 5a3ab148e0f..6c0e9f536b5 100644 --- a/multimedia/gmplayer/Makefile +++ b/multimedia/gmplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2007/09/06 18:11:57 abs Exp $ +# $NetBSD: Makefile,v 1.62 2007/09/07 10:06:22 tron Exp $ # # NOTE: if you are updating both mplayer and gmplayer, you must ensure @@ -84,7 +84,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" 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" |