Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 19:07:44 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   Re: Troubles upgrading RoundCube
Message-ID:  <5352AD60.6080903@netfence.it>
In-Reply-To: <535042F1.30902@FreeBSD.org>
References:  <53503EB3.7080501@netfence.it> <535042F1.30902@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5352AD60.6080903>