summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorgrant <grant>2006-10-11 00:01:00 +0000
committergrant <grant>2006-10-11 00:01:00 +0000
commit7ebbfa6d30e49291ca7f72f60e65371edb3e7f6c (patch)
treee28c46f34d418afdd5b0df04c201657a1cc35117 /multimedia
parent44d7d257b72b11ef0d09133c5401b6da0fa1987d (diff)
downloadpkgsrc-7ebbfa6d30e49291ca7f72f60e65371edb3e7f6c.tar.gz
fix Xv support on Solaris, as the Xv header files live in /usr/X11R6,
not ${X11_BASE}.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index df0597e772e..ace09f04d50 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2006/06/14 10:30:06 drochner Exp $
+# $NetBSD: Makefile,v 1.32 2006/10/11 00:01:00 grant Exp $
PKGNAME= mplayer-${MPLAYER_PKG_VERSION}
@@ -11,6 +11,13 @@ PKGREVISION= 1
CONFIGURE_ARGS+= --disable-mencoder
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
+# Solaris/x86 has Xv, but the header files live in /usr/X11R6, not
+# ${X11_BASE}, so we need to also look for headers in this path.
+.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
+CPPFLAGS+= -I/usr/X11R6/include
+BUILDLINK_PASSTHRU_DIRS+= /usr/X11R6/include
+.endif
+
INSTALLATION_DIRS+= bin
.include "../../fonts/fontconfig/buildlink3.mk"