HomeFreeBSD

net/asterisk18: Fix build when textproc/xmlstarlet is installed

Description

net/asterisk18: Fix build when textproc/xmlstarlet is installed

Asterisk build system checks for presence of xmlstarlet as "xml"
binary on the system.

If found it triggers part of the build system trying to download
some external files during the install phase which even uses a
command line tool not available on FreeBSD.

Such code is not necessary for the port, as all supported modules
are downloaded using ports tree provided functionality. Furthermore
downloading files from the internet is forbidden during the install
phase.

This patch forces the variable used by the Makefiles to identify
xmlstarlet presence to be empty. so the code path described above
is not triggered.

PR: 261884
(cherry picked from commit 9267d1fb2f64b42c306d51453d71cdf4ca5ecf6b)

Details

Provenance
madpilotAuthored on Feb 12 2022, 2:26 PM
Parents
R11:9a666fba3ab0: net/asterisk18: Update to 18.10.0
Branches
Unknown
Tags
Unknown