summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2017-06-20 14:41:06 +0000
committermadpilot <madpilot@FreeBSD.org>2017-06-20 14:41:06 +0000
commitf9a1d789f0d1a966b75967ef31bfaf56a6a31255 (patch)
tree057b6124c55d13df6aba17ca3b6fa32a5daeac49
parent5e719e243b66c16f1fe072c24a8eb1dd08ec7828 (diff)
downloadFreeBSD-ports-f9a1d789f0d1a966b75967ef31bfaf56a6a31255.zip
FreeBSD-ports-f9a1d789f0d1a966b75967ef31bfaf56a6a31255.tar.gz
MFH: r443951
- Fix user provided menuselect support - Make it work also when SYSINFO option is turned on Approved by: ports-secteam (feld)
-rw-r--r--net/asterisk13/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/asterisk13/Makefile b/net/asterisk13/Makefile
index a244478..209e9f9 100644
--- a/net/asterisk13/Makefile
+++ b/net/asterisk13/Makefile
@@ -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
OpenPOWER on IntegriCloud