diff options
-rw-r--r-- | audio/libsndfile/options.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/libsndfile/options.mk b/audio/libsndfile/options.mk index d735349df20..ec026aab799 100644 --- a/audio/libsndfile/options.mk +++ b/audio/libsndfile/options.mk @@ -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 @@ PKG_SUGGESTED_OPTIONS= ${SNDFILE_OUTPUT.${OPSYS}} .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 |