summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-06-17 15:17:15 +0000
committertaca <taca@pkgsrc.org>2012-06-17 15:17:15 +0000
commit14dfd8d6346285211f94edcd4a38b038a206fd29 (patch)
tree838677e77d39f85352e9ed6ee27290c633bc7e65 /mail
parent9e0b0f2dd67f898a0a38c3701543cc8016cf45b2 (diff)
downloadpkgsrc-14dfd8d6346285211f94edcd4a38b038a206fd29.tar.gz
Add sqlite to PKG_OPTIONS_GROUP.db when PHP is 5.3.x since PHP 5.4.x
drops php-sqlite (Sqlite 2) support.
Diffstat (limited to 'mail')
-rw-r--r--mail/roundcube/Makefile5
-rw-r--r--mail/roundcube/options.mk8
2 files changed, 8 insertions, 5 deletions
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"
###