svn commit: r443979 - branches/2017Q2/net/asterisk13
Guido Falsi
madpilot at FreeBSD.org
Tue Jun 20 14:41:08 UTC 2017
Author: madpilot
Date: Tue Jun 20 14:41:06 2017
New Revision: 443979
URL: https://svnweb.freebsd.org/changeset/ports/443979
Log:
MFH: r443951
- Fix user provided menuselect support
- Make it work also when SYSINFO option is turned on
Approved by: ports-secteam (feld)
Modified:
branches/2017Q2/net/asterisk13/Makefile
Directory Properties:
branches/2017Q2/ (props changed)
Modified: branches/2017Q2/net/asterisk13/Makefile
==============================================================================
--- branches/2017Q2/net/asterisk13/Makefile Tue Jun 20 14:36:49 2017 (r443978)
+++ branches/2017Q2/net/asterisk13/Makefile Tue Jun 20 14:41:06 2017 (r443979)
@@ -249,6 +249,9 @@ post-extract-G729-on:
post-patch:
@${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample
+.if exists(${FILESDIR}/.asterisk.makeopts)
+ ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts
+.endif
post-patch-SYSINFO-on:
@${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile
@@ -256,9 +259,6 @@ post-patch-SYSINFO-on:
post-patch-SYSINFO-off:
@${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile
-.if exists(${FILESDIR}/.asterisk.makeopts)
- ${CP} ${USER_MAKEOPTS_FILE} ${WRKSRC}/menuselect.makeopts
-.endif
post-configure:
@cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts
More information about the svn-ports-branches
mailing list