diff options
author | grant <grant@pkgsrc.org> | 2006-10-11 00:01:00 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2006-10-11 00:01:00 +0000 |
commit | 9559dd50da56bfe72f7fe65dccc899ac9326b61f (patch) | |
tree | e28c46f34d418afdd5b0df04c201657a1cc35117 /multimedia | |
parent | 8e862b7dd20ac140a87cc51ed86a9118073efbd3 (diff) | |
download | pkgsrc-9559dd50da56bfe72f7fe65dccc899ac9326b61f.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/Makefile | 9 |
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" |