Troubles upgrading RoundCube

Alex Dupre ale at FreeBSD.org
Thu Apr 17 21:08:52 UTC 2014


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


More information about the freebsd-ports mailing list