pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer fix Xv support on Solaris, as the X...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a04d3e648c66
branches:  trunk
changeset: 519831:a04d3e648c66
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Oct 11 00:01:00 2006 +0000

description:
fix Xv support on Solaris, as the Xv header files live in /usr/X11R6,
not ${X11_BASE}.

diffstat:

 multimedia/mplayer/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 00cdfecc8052 -r a04d3e648c66 multimedia/mplayer/Makefile
--- a/multimedia/mplayer/Makefile       Tue Oct 10 23:58:49 2006 +0000
+++ b/multimedia/mplayer/Makefile       Wed Oct 11 00:01:00 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index