FreeBSD Bugzilla – Attachment 106003 Details for
Bug 146555
[patch] port graphics/pear-Image_Graph fix php53 issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch_pear-Image_Graph.txt
patch_pear-Image_Graph.txt (text/plain), 1.12 KB, created by
Olli Hauer
on 2010-05-13 23:10:08 UTC
(
hide
)
Description:
patch_pear-Image_Graph.txt
Filename:
MIME Type:
Creator:
Olli Hauer
Created:
2010-05-13 23:10:08 UTC
Size:
1.12 KB
patch
obsolete
>--- Makefile 2010/05/10 18:50:44 1.1 >+++ Makefile 2010/05/13 20:07:18 >@@ -17,6 +17,8 @@ > RUN_DEPENDS= ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log \ > ${PEARDIR}/Image/Canvas.php:${PORTSDIR}/graphics/pear-Image_Canvas > >+USE_PHP= yes >+ > CATEGORY= Image > FILES= Graph.php Graph/Axis.php Graph/Common.php Graph/Config.php \ > Graph/Constants.php Graph/DataPreprocessor.php \ >@@ -163,12 +165,24 @@ > > LATEST_LINK= pear-Image_Graph > >+.include <bsd.port.pre.mk> > post-patch: >+# don't modify images > .for file in ${FILES} >- @${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file} >+ @if ${ECHO_CMD} ${file} | ${GREP} -q -e "php$$" ; then \ >+ ${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}; \ >+ fi > .endfor > >-.include <bsd.port.pre.mk> >+# fix for php5.3, see http://pear.php.net/bugs/bug.php?id=16529 >+.if ${PHP_VER} != 4 >+.for file in ${FILES} >+ @if ${ECHO_CMD} ${file} | ${GREP} -q -e "php$$" ; then \ >+ ${REINPLACE_CMD} -e 's|parent::Image[^(]*|parent::__construct|' ${WRKSRC}/${file}; \ >+ fi >+.endfor >+.endif >+ > .include "${PORTSDIR}/devel/pear/bsd.pear.mk" > > .include <bsd.port.post.mk>
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 Raw
Actions:
View
Attachments on
bug 146555
: 106003