pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libsndfile Fix improper PKG_SUGGESTED_OPTIONS an...
details: https://anonhg.NetBSD.org/pkgsrc/rev/88bbe593c35b
branches: trunk
changeset: 545040:88bbe593c35b
user: obache <obache%pkgsrc.org@localhost>
date: Thu Jul 24 22:39:30 2008 +0000
description:
Fix improper PKG_SUGGESTED_OPTIONS and fix build failure on some platforms.
* Should not try to use OSS for unknown OSes, PR 39197,
only for having buitin OSS.
* for Solaris, ${OPSYS} != "Solaris", it's "SunOS".
Fixed to use sunaudio instead of oss.
Bump PKGREVISION.
diffstat:
audio/libsndfile/Makefile | 4 ++--
audio/libsndfile/options.mk | 16 +++++++++++++---
2 files changed, 15 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r d885dcb6360f -r 88bbe593c35b audio/libsndfile/Makefile
--- a/audio/libsndfile/Makefile Thu Jul 24 20:56:20 2008 +0000
+++ b/audio/libsndfile/Makefile Thu Jul 24 22:39:30 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2008/04/07 15:36:19 bjs Exp $
+# $NetBSD: Makefile,v 1.46 2008/07/24 22:39:30 obache Exp $
DISTNAME= libsndfile-1.0.17
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/libsndfile/
diff -r d885dcb6360f -r 88bbe593c35b audio/libsndfile/options.mk
--- a/audio/libsndfile/options.mk Thu Jul 24 20:56:20 2008 +0000
+++ b/audio/libsndfile/options.mk Thu Jul 24 22:39:30 2008 +0000
@@ -1,13 +1,23 @@
-# $NetBSD: options.mk,v 1.4 2008/04/07 15:36:19 bjs Exp $
+# $NetBSD: options.mk,v 1.5 2008/07/24 22:39:30 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libsndfile
PKG_OPTIONS_OPTIONAL_GROUPS= output
PKG_OPTIONS_GROUP.output= oss sun
-SNDFILE_OUTPUT.${OPSYS}?= oss
SNDFILE_OUTPUT.NetBSD= sun
SNDFILE_OUTPUT.OpenBSD= sun
-SNDFILE_OUTPUT.Solaris= sun
+SNDFILE_OUTPUT.SunOS= sun
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !defined(SNDFILE_OUTPUT.${OPSYS})
+CHECK_BUILTIN.oss:= yes
+. include "../../mk/oss.builtin.mk"
+CHECK_BUILTIN.oss:= no
+. if defined(IS_BUILTIN.oss) && !empty(IS_BUILTIN.oss:M[yY][eE][sS])
+SNDFILE_OUTPUT.${OPSYS}?= oss
+. endif
+.endif
PKG_SUGGESTED_OPTIONS= ${SNDFILE_OUTPUT.${OPSYS}}
Home |
Main Index |
Thread Index |
Old Index