svn commit: r443951 - head/net/asterisk13

Guido Falsi madpilot at FreeBSD.org
Tue Jun 20 13:17:38 UTC 2017


Author: madpilot
Date: Tue Jun 20 13:17:36 2017
New Revision: 443951
URL: https://svnweb.freebsd.org/changeset/ports/443951

Log:
  - Fix user provided menuselect support
  - Make it work also when SYSINFO option is turned on
  
  MFH:		2017Q2

Modified:
  head/net/asterisk13/Makefile

Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile	Tue Jun 20 13:05:41 2017	(r443950)
+++ head/net/asterisk13/Makefile	Tue Jun 20 13:17:36 2017	(r443951)
@@ -250,6 +250,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
@@ -257,9 +260,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-all mailing list