summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
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"