diff options
Diffstat (limited to 'audio/moc/options.mk')
-rw-r--r-- | audio/moc/options.mk | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/moc/options.mk b/audio/moc/options.mk index c4e44f9e43e..0b6eac256c8 100644 --- a/audio/moc/options.mk +++ b/audio/moc/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $ +# $NetBSD: options.mk,v 1.2 2006/02/12 18:35:55 xtraeme Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.moc -PKG_SUPPORTED_OPTIONS= sndfile flac vorbis speex curl -PKG_SUGGESTED_OPTIONS= vorbis curl sndfile +PKG_SUPPORTED_OPTIONS= sndfile flac vorbis speex curl samplerate +PKG_SUGGESTED_OPTIONS= sndfile flac vorbis curl .include "../../mk/bsd.options.mk" @@ -48,3 +48,10 @@ CONFIGURE_ARGS+= --with-curl .else CONFIGURE_ARGS+= --without-curl .endif + +.if !empty(PKG_OPTIONS:Msamplerate) +CONFIGURE_ARGS+= --with-samplerate +. include "../../audio/libsamplerate/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-samplerate +.endif |