diff options
author | tron <tron> | 2007-09-07 10:06:22 +0000 |
---|---|---|
committer | tron <tron> | 2007-09-07 10:06:22 +0000 |
commit | 27a961a8c8d4862a26bf01f4d7866657329c9dbe (patch) | |
tree | d14d8f3fccfa72b47315c22ebd282a87ffd5db90 /multimedia/gmplayer | |
parent | 28c8bc49d91321bb233436ccb332d7365887279d (diff) | |
download | pkgsrc-27a961a8c8d4862a26bf01f4d7866657329c9dbe.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/gmplayer')
-rw-r--r-- | multimedia/gmplayer/Makefile | 4 |
1 files changed, 3 insertions, 1 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" |