FreeBSD Bugzilla – Attachment 155786 Details for
Bug 198138
www/php5-tidy: adding an option to use tidy-html5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for php56
php56_tidy.diff (text/plain), 947 bytes, created by
Thierry Thomas
on 2015-04-20 21:09:26 UTC
(
hide
)
Description:
Patch for php56
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2015-04-20 21:09:26 UTC
Size:
947 bytes
patch
obsolete
>Index: lang/php56/Makefile.ext >=================================================================== >--- lang/php56/Makefile.ext (revision 384385) >+++ lang/php56/Makefile.ext (working copy) >@@ -389,9 +389,10 @@ > .endif > > .if ${PHP_MODNAME} == "tidy" >+OPTIONS_DEFINE= TIDY5 >+TIDY5_DESC= Uses Tidy5 (still beta) >+ > CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} >- >-LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib > .endif > > .if ${PHP_MODNAME} == "tokenizer" >@@ -590,6 +591,21 @@ > . endif > .endif > >+.if ${PHP_MODNAME} == "tidy" >+. if ${PORT_OPTIONS:MTIDY5} >+LIB_DEPENDS+= libtidy5.so:${PORTSDIR}/www/tidy-html5 >+ >+post-extract: >+ ${REINPLACE_CMD} -e '/PHP_ADD_LIBRARY_WITH_PATH/s|tidy|tidy5|' \ >+ ${WRKSRC}/config.m4 >+ ${REINPLACE_CMD} -e '/PHP_CHECK_LIBRARY/s|tidy|tidy5|' \ >+ ${WRKSRC}/config.m4 >+ >+. else >+LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib >+. endif >+.endif >+ > .if ${PHP_MODNAME} == "xml" > post-extract: > @${MKDIR} ${WRKSRC}/ext/xml
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
thierry
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 198138
:
153646
| 155786