Troubles upgrading RoundCube
Andrea Venturoli
ml at netfence.it
Sat Apr 19 17:08:29 UTC 2014
On 04/17/14 23:09, Alex Dupre wrote:
> Andrea Venturoli ha scritto:
>> While trying to upgrade RoundCube, it seems to look for php in the wrong
>> place:
>
> Try the following patch and let me know:
>
> Index: Mk/bsd.php.mk
> ===================================================================
> --- Mk/bsd.php.mk (revision 351469)
> +++ Mk/bsd.php.mk (working copy)
> @@ -161,6 +161,8 @@
> .endif
> RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PORTSDIR}/${PHP_PORT}
> .if defined(WANT_PHP_MOD) || (defined(WANT_PHP_WEB) &&
> defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "")
> +USE_APACHE= 22+
> +.include "${PORTSDIR}/Mk/bsd.apache.mk"
> RUN_DEPENDS+=
> ${PHPBASE}/${APACHEMODDIR}/libphp5.so:${PORTSDIR}/${MOD_PHP_PORT}
> .endif
>
>
Thanks Alex.
Unfortunately, now I get:
> # portupgrade -R roundcube
> ** Port marked as IGNORE: mail/roundcube:
> is marked as broken: If NO_BUILD is used, then USE_APACHE_RUN is sufficient. Please fix your Makefile
> [Exclude up-to-date packages done]
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> - mail/roundcube (marked as IGNORE)
Your patch, however, showed me what to modify to let me compile *in my
case*.
Anyway, I'll gladly help testing if you have further patches to try.
bye
av.
More information about the freebsd-ports
mailing list