Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 23:09:05 +0200
From:      Alex Dupre <ale@FreeBSD.org>
To:        Andrea Venturoli <ml@netfence.it>, ports@freebsd.org
Subject:   Re: Troubles upgrading RoundCube
Message-ID:  <535042F1.30902@FreeBSD.org>
In-Reply-To: <53503EB3.7080501@netfence.it>
References:  <53503EB3.7080501@netfence.it>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535042F1.30902>