summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/Makefile
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-11-01 13:57:28 +0000
committerhans <hans@pkgsrc.org>2011-11-01 13:57:28 +0000
commitb4475ae4cccbfab75cfb4fe1cc212a4984fe61ee (patch)
tree2b8811dc00cf6c401de6dd63ca30305edf59329f /multimedia/xine-lib/Makefile
parenta2ac7a71b35b365a68f7e01b1865ba8d1508a566 (diff)
downloadpkgsrc-b4475ae4cccbfab75cfb4fe1cc212a4984fe61ee.tar.gz
OSS support on SunOS is only available in 5.11
Diffstat (limited to 'multimedia/xine-lib/Makefile')
-rw-r--r--multimedia/xine-lib/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/xine-lib/Makefile b/multimedia/xine-lib/Makefile
index 534dd4c24f0..97f0ac41a81 100644
--- a/multimedia/xine-lib/Makefile
+++ b/multimedia/xine-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2011/11/01 06:02:16 sbd Exp $
+# $NetBSD: Makefile,v 1.90 2011/11/01 13:57:28 hans Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -32,6 +32,13 @@ SUBST_MESSAGE.w32path= Fixing win32 dll path.
# Needed to fix build problems under, at least, NetBSD/amd64.
BUILDLINK_API_DEPENDS.libcdio+= libcdio>=0.75
+.if ${OPSYS} == "SunOS"
+PLIST_VARS+= oss
+.if ${OS_VERSION} == "5.11"
+PLIST.oss= yes
+.endif
+.endif
+
# flac is supported internally; don't know what the plugin is good for
#.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"