From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 21:08:52 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1CB1639 for ; Thu, 17 Apr 2014 21:08:52 +0000 (UTC) Received: from lab.alexdupre.com (alexdupre-1-pt.tunnel.tserv23.zrh1.ipv6.he.net [IPv6:2001:470:25:450::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31AF01385 for ; Thu, 17 Apr 2014 21:08:52 +0000 (UTC) Received: (qmail 77340 invoked from network); 17 Apr 2014 21:08:49 -0000 Received: from unknown (HELO ?192.168.178.115?) (sysadmin@alexdupre.com@192.168.178.115) by lab.alexdupre.com with ESMTPSA; 17 Apr 2014 21:08:49 -0000 Message-ID: <535042F1.30902@FreeBSD.org> Date: Thu, 17 Apr 2014 23:09:05 +0200 From: Alex Dupre User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25 MIME-Version: 1.0 To: Andrea Venturoli , ports@freebsd.org Subject: Re: Troubles upgrading RoundCube References: <53503EB3.7080501@netfence.it> In-Reply-To: <53503EB3.7080501@netfence.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 17 Apr 2014 21:08:52 -0000 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 -- Alex Dupre