FreeBSD Bugzilla – Attachment 153646 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 against lang/php5 to add the option for www/php5-tidy
php5_ext_tidy.diff (text/plain), 949 bytes, created by
Thierry Thomas
on 2015-03-01 18:17:45 UTC
(
hide
)
Description:
Patch against lang/php5 to add the option for www/php5-tidy
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2015-03-01 18:17:45 UTC
Size:
949 bytes
patch
obsolete
>Index: lang/php5/Makefile.ext >=================================================================== >--- lang/php5/Makefile.ext (révision 380210) >+++ lang/php5/Makefile.ext (copie de travail) >@@ -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" >@@ -587,6 +588,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
Actions:
View
|
Diff
Attachments on
bug 198138
: 153646 |
155786
Working