pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/sox sox: link with libossaudio if building oss o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/648489c79295
branches:  trunk
changeset: 356916:648489c79295
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Jan 07 21:30:26 2017 +0000

description:
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:

 audio/sox/options.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 3e7321162f64 -r 648489c79295 audio/sox/options.mk
--- a/audio/sox/options.mk      Sat Jan 07 21:25:26 2017 +0000
+++ b/audio/sox/options.mk      Sat Jan 07 21:30:26 2017 +0000
@@ -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 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Moss)
+LDFLAGS+=              -lossaudio
 .include "../../mk/oss.buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --without-oss



Home | Main Index | Thread Index | Old Index