pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/portaudio portaudio: fix buildlink3 for alsa/jack



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee596512953b
branches:  trunk
changeset: 419580:ee596512953b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 22 04:14:33 2019 +0000

description:
portaudio: fix buildlink3 for alsa/jack

diffstat:

 audio/portaudio/buildlink3.mk |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 58eb3b56296b -r ee596512953b audio/portaudio/buildlink3.mk
--- a/audio/portaudio/buildlink3.mk     Sun Dec 22 02:58:48 2019 +0000
+++ b/audio/portaudio/buildlink3.mk     Sun Dec 22 04:14:33 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2019/10/20 11:10:49 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2019/12/22 04:14:33 nia Exp $
 
 BUILDLINK_TREE+=       portaudio
 
@@ -10,6 +10,18 @@
 BUILDLINK_INCDIRS.portaudio?=          include/portaudio2
 BUILDLINK_LIBDIRS.portaudio+=          lib/portaudio2
 BUILDLINK_CPPFLAGS.portaudio+=         -I${BUILDLINK_PREFIX.portaudio}/include/portaudio2
+
+pkgbase:=      portaudio
+
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.portaudio:Malsa)
+.  include "../../audio/alsa-lib/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.portaudio:Mjack)
+.  include "../../audio/jack/buildlink3.mk"
+.endif
 .endif # PORTAUDIO_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -portaudio



Home | Main Index | Thread Index | Old Index