mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
- Fix user provided menuselect support
- Make it work also when SYSINFO option is turned on MFH: 2017Q2
This commit is contained in:
parent
6fe6080531
commit
50ca7b4268
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443951
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user