Bump PKGREVISION.
* Fix DEPENDS. Recent version of baserCMS requires PDO database drivers. * Remove obsolete commented-out lines.
This commit is contained in:
parent
5cb07680b6
commit
4c7a641050
2 changed files with 5 additions and 7 deletions
|
@ -1,8 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.2 2014/11/29 12:26:16 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2015/01/08 13:35:03 ryoon Exp $
|
||||
|
||||
BASERVER= 3.0.6.1
|
||||
DISTNAME= basercms-${BASERVER}
|
||||
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= -http://basercms.net/packages/download/basercms/${BASERVER}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.1 2013/11/22 14:35:56 ryoon Exp $
|
||||
# $NetBSD: options.mk,v 1.2 2015/01/08 13:35:03 ryoon Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.php-basercms
|
||||
|
||||
|
@ -13,18 +13,15 @@ PKG_SUGGESTED_OPTIONS= mysql
|
|||
### Use csv, mysql, pgsql, or sqlite backend
|
||||
###
|
||||
.if !empty(PKG_OPTIONS:Mmysql)
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.2.0:../../databases/php-pdo_mysql
|
||||
.elif !empty(PKG_OPTIONS:Msqlite)
|
||||
|
||||
# php-sqlite provides sqlite2
|
||||
#DEPENDS+= ${PHP_PKG_PREFIX}-sqlite>=5.2.0:../../databases/php-sqlite
|
||||
|
||||
# php-pdo_sqlite provides sqlite3. An owncloud instance that was
|
||||
# installed as version 2 and upgraded to 3 and then 4
|
||||
# complained/failed that PDO was not present.
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=5.2.0:../../databases/php-pdo_sqlite
|
||||
.elif !empty(PKG_OPTIONS:Mpgsql)
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=5.2.0:../../databases/php-pdo_pgsql
|
||||
.elif !!empty(PKG_OPTIONS:Mcsv)
|
||||
# no DEPENDS
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue