summaryrefslogtreecommitdiff
path: root/audio/sox
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
commit5da3a415963949380c53f0cbd553223c81166a0a (patch)
tree4ae61d66bc5524d19b35c2ca862140242dac365e /audio/sox
parent45b474887ccb83d73384d9b7f9eae39d1ec3e9e4 (diff)
downloadpkgsrc-5da3a415963949380c53f0cbd553223c81166a0a.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/sox')
-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