mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
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
This commit is contained in:
parent
f0f667985b
commit
9267d1fb2f
@ -240,6 +240,7 @@ post-extract-OPUS-on:
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample
|
||||
@${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in
|
||||
.if exists(${FILESDIR}/.asterisk.makeopts)
|
||||
${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user