From owner-freebsd-ports@FreeBSD.ORG Sat Apr 19 17:08:29 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C1015D6; Sat, 19 Apr 2014 17:08:29 +0000 (UTC) Received: from mp1-smtp-6.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 6364A16E4; Sat, 19 Apr 2014 17:08:28 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mp1-smtp-6.eutelia.it (Eutelia) with ESMTP id 5426C6B90FD; Sat, 19 Apr 2014 19:08:21 +0200 (CEST) Received: from soth.ventu (adsl-ull-118-176.41-151.net24.it [151.41.176.118]) (authenticated bits=0) by ns2.biolchim.it (8.14.8/8.14.8) with ESMTP id s3JH82TZ089679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 19 Apr 2014 19:08:09 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-118-176.41-151.net24.it [151.41.176.118] claimed to be soth.ventu Received: from guardian.ventu (bane.ventu [10.1.2.15]) (authenticated bits=0) by soth.ventu (8.14.8/8.14.7) with ESMTP id s3JH7jKT052354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 19 Apr 2014 19:07:46 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host bane.ventu [10.1.2.15] claimed to be guardian.ventu Message-ID: <5352AD60.6080903@netfence.it> Date: Sat, 19 Apr 2014 19:07:44 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Alex Dupre Subject: Re: Troubles upgrading RoundCube References: <53503EB3.7080501@netfence.it> <535042F1.30902@FreeBSD.org> In-Reply-To: <535042F1.30902@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.74 X-Scanned-By: MIMEDefang 2.74 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Sat, 19 Apr 2014 19:08:09 +0200 (CEST) X-Spam-Score: 5.206 (*****) RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 17:08:29 -0000 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.