pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/portaudio



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 22 04:14:33 UTC 2019

Modified Files:
        pkgsrc/audio/portaudio: buildlink3.mk

Log Message:
portaudio: fix buildlink3 for alsa/jack


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/audio/portaudio/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/portaudio/buildlink3.mk
diff -u pkgsrc/audio/portaudio/buildlink3.mk:1.13 pkgsrc/audio/portaudio/buildlink3.mk:1.14
--- pkgsrc/audio/portaudio/buildlink3.mk:1.13   Sun Oct 20 11:10:49 2019
+++ pkgsrc/audio/portaudio/buildlink3.mk        Sun Dec 22 04:14:33 2019
@@ -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_PKGSRCDIR.portaudio?=              ../../a
 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