ports/90074: update port mail/roundcube - additional checks for php5

Babak Farrokhi babak at farrokhi.net
Wed Dec 7 14:31:40 UTC 2005


>Number:         90074
>Category:       ports
>Synopsis:       update port mail/roundcube - additional checks for php5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 07 14:30:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Babak Farrokhi
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD royalway.propagation.net 5.4-STABLE FreeBSD 5.4-STABLE #6: Thu Jun 30 05:11:17 CDT 2005 root at royalway.propagation.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
SQLite modules is not supported in php4. Additional checks for PHP5 added to Makefile
>How-To-Repeat:
	
>Fix:

	

--- roundcube.patch begins here ---
diff -ruN roundcube.old/Makefile roundcube/Makefile
--- roundcube.old/Makefile	Wed Dec  7 17:35:10 2005
+++ roundcube/Makefile	Wed Dec  7 17:35:53 2005
@@ -37,8 +37,11 @@
 WANT_PHP_WEB=	yes
 
 OPTIONS=	MYSQL "Use MySQL backend" on \
-		PGSQL "Use PostgreSQL backend" off \
-		SQLITE "Use SQLite backend" off
+		PGSQL "Use PostgreSQL backend" off
+
+.if defined(PHP_VER) && ${PHP_VER} == 5
+OPTIONS+=       SQLITE "Use SQLite backend" off
+.endif
 
 .include <bsd.port.pre.mk>
 
--- roundcube.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list