From 9559dd50da56bfe72f7fe65dccc899ac9326b61f Mon Sep 17 00:00:00 2001 From: grant Date: Wed, 11 Oct 2006 00:01:00 +0000 Subject: fix Xv support on Solaris, as the Xv header files live in /usr/X11R6, not ${X11_BASE}. --- multimedia/mplayer/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'multimedia') 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" -- cgit v1.2.3