summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorhans <hans>2011-11-01 13:57:28 +0000
committerhans <hans>2011-11-01 13:57:28 +0000
commit3934720f75c033ee93494fdc33843bc0f046fd00 (patch)
tree2b8811dc00cf6c401de6dd63ca30305edf59329f /multimedia
parenta4470ca269fa5033189da5ecd0a99f4eca9ebfda (diff)
downloadpkgsrc-3934720f75c033ee93494fdc33843bc0f046fd00.tar.gz
OSS support on SunOS is only available in 5.11
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xine-lib/Makefile9
-rw-r--r--multimedia/xine-lib/PLIST.SunOS6
2 files changed, 11 insertions, 4 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"
diff --git a/multimedia/xine-lib/PLIST.SunOS b/multimedia/xine-lib/PLIST.SunOS
index ccb30d73388..4b5fec5cf4e 100644
--- a/multimedia/xine-lib/PLIST.SunOS
+++ b/multimedia/xine-lib/PLIST.SunOS
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST.SunOS,v 1.7 2011/09/14 17:25:32 hans Exp $
+@comment $NetBSD: PLIST.SunOS,v 1.8 2011/11/01 13:57:28 hans Exp $
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_ao_out_sun.a
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_ao_out_sun.so
-lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_ao_out_oss.a
-lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_ao_out_oss.so
+${PLIST.oss}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_ao_out_oss.a
+${PLIST.oss}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_ao_out_oss.so