[asterisk-bugs] [JIRA] (ASTERISK-27728) [patch] BuildSystem: Add NetBSD.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Mar 14 10:16:13 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242586#comment-242586 ] 

Friendly Automation commented on ASTERISK-27728:
------------------------------------------------

Change 8479 merged by Joshua Colp:
BuildSystem: Add NetBSD.

[https://gerrit.asterisk.org/8479|https://gerrit.asterisk.org/8479]

> [patch] BuildSystem: Add NetBSD.
> --------------------------------
>
>                 Key: ASTERISK-27728
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27728
>             Project: Asterisk
>          Issue Type: Improvement
>      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_configure_flags.patch
>
>
> Currently on NetBSD, you have to do
> {code}ftp http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
> tar -zxf asterisk-*
> cd asterisk-*
> export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/$(uname -s)/$(uname -p)/$(uname -r)/All"
> pkg_add gcc7 gmake pkg-config editline jansson sqlite3 libuuid libxml2 wget mozilla-rootcerts
> mozilla-rootcerts install
> CFLAGS="-I/usr/pkg/include" LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" ./configure{code}On NetBSD, added packages are installed in a 'pkg' sub-directory. Consequently, to find external libraries, added by the user, the paths must be known to the Asterisk build system. Like with other BSD based platforms, the CFLAGS and LDFLAGS should be handled by the script {{./configure}} and the {{Makefile}} automatically, so the user does not have to do more than {{./configure}}.
> Actually, this was reported in ASTERISK-11015 already. 



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



More information about the asterisk-bugs mailing list