pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libsndfile Add octave option, based on PR 41307 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6d14916e369f
branches: trunk
changeset: 392536:6d14916e369f
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat May 02 17:24:15 2009 +0000
description:
Add octave option, based on PR 41307 by Rumko.
diffstat:
audio/libsndfile/options.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r c089841ddb3e -r 6d14916e369f audio/libsndfile/options.mk
--- a/audio/libsndfile/options.mk Sat May 02 16:23:50 2009 +0000
+++ b/audio/libsndfile/options.mk Sat May 02 17:24:15 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: options.mk,v 1.5 2008/07/24 22:39:30 obache Exp $
+# $NetBSD: options.mk,v 1.6 2009/05/02 17:24:15 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libsndfile
+PKG_SUPPORTED_OPTIONS= octave
PKG_OPTIONS_OPTIONAL_GROUPS= output
PKG_OPTIONS_GROUP.output= oss sun
@@ -23,6 +24,14 @@
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Moctave)
+USE_LANGUAGES= fortran
+USE_TOOLS+= gmake
+.include "../../math/octave/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-octave
+.endif
+
.if !empty(PKG_OPTIONS:Moss)
.include "../../mk/oss.buildlink3.mk"
OSS_DEFS= -DDEV_DSP=\"${DEVOSSAUDIO:Q}\" -DUSE_OSS=1
Home |
Main Index |
Thread Index |
Old Index