[asterisk-bugs] [JIRA] (ASTERISK-27721) [patch] BuildSystem: Enable PortAudio in NetBSD.

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Tue Mar 6 06:43:13 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-27721:
---------------------------------------

    Assignee: Alexander Traud

> [patch] BuildSystem: Enable PortAudio in NetBSD.
> ------------------------------------------------
>
>                 Key: ASTERISK-27721
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27721
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.19.2, 15.2.2
>         Environment: NetBSD 7.1.1
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: NetBSD_enable_portaudio.patch
>
>
> The channel driver {{chan_console}} has a dependency on the external library PortAudio. The script {{./configure}} assumes PortAudio 2.x. In NetBSD, PortAudio 1.x is the default. The newer version is available and can be installed side by side, but gets placed in a 'portaudio2' subdirectory:
> * {{/usr/pkg/lib/portaudio2/libportaudio.so}}
> * {{/usr/pkg/include/portaudio2/portaudio.h}}
> Therefore, {{./configure}} was not able to detect PortAudio on NetBSD. Lukily, PortAudio is listed via the tool {{pkg-config}}. That way, Asterisk is able to determine the path of the headers and libraries automatically. The attached patch leverages this.
> As with Python, one cannot specify a version with pkg-config in NetBSD. Why ever. This works in Ubuntu. Therefore, this explicit string 'portaudio-2.0' is required for NetBSD. Consequently, the previous check must stay.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list