From 14dfd8d6346285211f94edcd4a38b038a206fd29 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 17 Jun 2012 15:17:15 +0000 Subject: Add sqlite to PKG_OPTIONS_GROUP.db when PHP is 5.3.x since PHP 5.4.x drops php-sqlite (Sqlite 2) support. --- mail/roundcube/Makefile | 5 ++--- mail/roundcube/options.mk | 8 ++++++-- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile index cab0ed42b17..2cf20be6a46 100644 --- a/mail/roundcube/Makefile +++ b/mail/roundcube/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.42 2012/06/07 13:51:03 fhajny Exp $ +# $NetBSD: Makefile,v 1.43 2012/06/17 15:17:15 taca Exp $ DISTNAME= roundcubemail-0.7.2-dep PKGNAME= ${DISTNAME:S/mail-/-/:S/-dep//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/} @@ -28,7 +28,6 @@ NO_BUILD= yes INSTALLATION_DIRS= ${RCDIR}/plugins ${RCDIR}/program ${RCDIR}/skins INSTALLATION_DIRS+= ${RCDIR}/bin ${RCDIR}/SQL ${DOCDIR} ${EGDIR} -.include "../../mk/bsd.prefs.mk" .include "../../lang/php/phpversion.mk" PKG_SYSCONFSUBDIR?= roundcube diff --git a/mail/roundcube/options.mk b/mail/roundcube/options.mk index af3059a75e8..04d3ebcc803 100644 --- a/mail/roundcube/options.mk +++ b/mail/roundcube/options.mk @@ -1,15 +1,19 @@ -# $NetBSD: options.mk,v 1.5 2010/03/16 16:02:21 taca Exp $ +# $NetBSD: options.mk,v 1.6 2012/06/17 15:17:15 taca Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.roundcube PKG_OPTIONS_REQUIRED_GROUPS= db -PKG_OPTIONS_GROUP.db= mysql pgsql sqlite +PKG_OPTIONS_GROUP.db= mysql pgsql PKG_SUPPORTED_OPTIONS= iconv ldap multibyte mcrypt sockets gd # Following the recommendations in INSTALL the iconv, multibyte, gd and # mcrypt PHP extensions are all 'recommended' requirements PKG_SUGGESTED_OPTIONS= mysql iconv multibyte mcrypt sockets gd +.if ${PKG_PHP_VERSION} == "53" +PKG_OPTIONS_GROUP.db+= sqlite +.endif + .include "../../mk/bsd.options.mk" ### -- cgit v1.2.3