summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-01-07 21:30:26 +0000
committermaya <maya@pkgsrc.org>2017-01-07 21:30:26 +0000
commitaee9db7734b91311f36534e1d011dfbc990864b6 (patch)
treeac2f658e56aedf72704c84c2d0b8b281ecc65097 /audio
parent9bd65c16c13f36e21500f89368662f4d052ca115 (diff)
downloadpkgsrc-aee9db7734b91311f36534e1d011dfbc990864b6.tar.gz
sox: link with libossaudio if building oss option. package does not do this
already. fixes build when oss option is selected (at least on netbsd 7.99.54).
Diffstat (limited to 'audio')
-rw-r--r--audio/sox/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/sox/options.mk b/audio/sox/options.mk
index 29559482a23..0d9855eff5b 100644
--- a/audio/sox/options.mk
+++ b/audio/sox/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2010/10/30 15:07:42 drochner Exp $
+# $NetBSD: options.mk,v 1.6 2017/01/07 21:30:26 maya Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sox
PKG_SUPPORTED_OPTIONS= lame oss
@@ -12,6 +12,7 @@ PKG_SUGGESTED_OPTIONS=
.endif
.if !empty(PKG_OPTIONS:Moss)
+LDFLAGS+= -lossaudio
.include "../../mk/oss.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-oss