FreeBSD Bugzilla – Attachment 192344 Details for
Bug 227377
devel/gitphp: allow building with php7+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build on php7+
20180408-gitphp.diff (text/plain), 906 bytes, created by
Daniel Austin
on 2018-04-08 16:35:41 UTC
(
hide
)
Description:
fix build on php7+
Filename:
MIME Type:
Creator:
Daniel Austin
Created:
2018-04-08 16:35:41 UTC
Size:
906 bytes
patch
obsolete
>diff -ruN devel/gitphp.orig/Makefile devel/gitphp/Makefile >--- devel/gitphp.orig/Makefile 2018-04-08 12:56:03.000000000 +0100 >+++ devel/gitphp/Makefile 2018-04-08 17:15:29.100980000 +0100 >@@ -13,12 +13,19 @@ > > USES= gettext php:web tar:bzip2 > USE_PHP= bz2 fileinfo mbstring memcache posix simplexml spl zlib >+NO_ARCH= yes > NO_BUILD= yes > > PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" > SUB_FILES= pkg-message > >+.include <bsd.port.pre.mk> >+ >+.if (${PHP_VER} < 70) > RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff@${PHP_FLAVOR} >+.else >+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff2@${PHP_FLAVOR} >+.endif > > do-install: > ${MKDIR} ${STAGEDIR}${WWWDIR} >@@ -26,4 +33,4 @@ > && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) > ${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 {} + > >-.include <bsd.port.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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227377
: 192344