Permalink
Browse files

Add sqlite to PKG_OPTIONS_GROUP.db when PHP is 5.3.x since PHP 5.4.x

drops php-sqlite (Sqlite 2) support.
  • Loading branch information...
taca
taca committed Jun 17, 2012
1 parent dacab72 commit 1630802f0c1ce3485c5c4e4e24f69ed428e72099
Showing with 8 additions and 5 deletions.
  1. +2 −3 mail/roundcube/Makefile
  2. +6 −2 mail/roundcube/options.mk
View
@@ -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
@@ -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"
###

0 comments on commit 1630802

Please sign in to comment.