diff --git a/databases/innotop/Makefile b/databases/innotop/Makefile index d6747120413c..31f9807d418b 100644 --- a/databases/innotop/Makefile +++ b/databases/innotop/Makefile @@ -13,7 +13,7 @@ LICENSE= gnu-gpl-v2 DEPENDS+= p5-Term-ReadKey>=2.10:../../devel/p5-Term-ReadKey DEPENDS+= p5-DBI>=1.13:../../databases/p5-DBI -DEPENDS+= p5-DBD-mysql>=1.0:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql PERL5_PACKLIST= auto/innotop/.packlist REPLACE_PERL= innotop diff --git a/databases/myodbc/Makefile b/databases/myodbc/Makefile index 3a9a17021d8f..edcaae4e8db4 100644 --- a/databases/myodbc/Makefile +++ b/databases/myodbc/Makefile @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.45 2021/06/23 20:33:08 nia Exp $ DISTNAME= mysql-connector-odbc-5.3.14-src -PKGNAME= ${DISTNAME:S/mysql-connector-odbc/myodbc/:S/-src$//} +PKGNAME= ${DISTNAME:S/mysql-connector-odbc/${MYSQL_PKG_PREFIX}-odbc/:S/-src$//} PKGREVISION= 1 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-ODBC/5.3/} @@ -14,7 +14,7 @@ LICENSE= gnu-gpl-v2 USE_CMAKE= yes CMAKE_ARGS= -Wno-dev #CMAKE_ARGS+= -DMYSQL_DIR=${BUILDLINK_PREFIX.mysql-client} -CMAKE_ARGS+= -DMYSQL_INCLUDE_DIR=${BUILDLINK_PREFIX.mysql-client}/include/mysql +CMAKE_ARGS+= -DMYSQL_INCLUDE_DIR=${BUILDLINK_PREFIX.mysql-client}/${BUILDLINK_INCDIRS.mysql-client} USE_LANGUAGES= c c++ INSTALLATION_DIRS= share/doc/mysql-connector-odbc diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile index cca3e487ca22..3539da4b8d35 100644 --- a/databases/mytop/Makefile +++ b/databases/mytop/Makefile @@ -13,7 +13,7 @@ LICENSE= gnu-gpl-v2 DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI #DEPENDS+= p5-Term-ANSIColor-[0-9]*:../../devel/p5-Term-ANSIColor DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey -DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql PERL5_PACKLIST= auto/mytop/.packlist REPLACE_PERL= mytop diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index 7fadbeec6845..d989998fe061 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.82 2021/06/23 20:33:08 nia Exp $ DISTNAME= DBD-mysql-4.050 -PKGNAME= p5-${DISTNAME} +PKGNAME= p5-${DISTNAME:S/mysql/${MYSQL_PKG_PREFIX}/} PKGREVISION= 4 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} diff --git a/databases/p5-DBIx-Class-Schema-Loader/options.mk b/databases/p5-DBIx-Class-Schema-Loader/options.mk index 4d6f0e05f3a1..82ed4ff1ecce 100644 --- a/databases/p5-DBIx-Class-Schema-Loader/options.mk +++ b/databases/p5-DBIx-Class-Schema-Loader/options.mk @@ -13,7 +13,7 @@ BUILDLINK_DEPMETHOD.p5-DBI?= full .endif .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= p5-DBD-mysql>=4.004:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql BUILDLINK_DEPMETHOD.p5-DBI?= full .endif diff --git a/databases/pear-MDB2_Driver_pgsql/Makefile b/databases/pear-MDB2_Driver_pgsql/Makefile index 366a46f8e9ee..e381218d25ed 100644 --- a/databases/pear-MDB2_Driver_pgsql/Makefile +++ b/databases/pear-MDB2_Driver_pgsql/Makefile @@ -8,7 +8,7 @@ HOMEPAGE= https://pear.php.net/package/MDB2_Driver_pgsql COMMENT= Pgsql MDB2 driver LICENSE= modified-bsd -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql-[0-9]*:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2>=2.5:../../databases/pear-MDB2 PEAR_DIRRM_EXCLUDE= lib/php/MDB2 diff --git a/databases/percona-toolkit/Makefile b/databases/percona-toolkit/Makefile index d2511cfb4b10..bf53427532d6 100644 --- a/databases/percona-toolkit/Makefile +++ b/databases/percona-toolkit/Makefile @@ -35,7 +35,7 @@ SUBST_FILES.sh+= blib/script/pt-summary SUBST_SED.sh+= -e 's|^\#!.*|\#!${TOOLS_PATH.sh}|' SUBST_NOOP_OK.sh= yes -DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql #DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes PERL5_PACKLIST= auto/percona-toolkit/.packlist diff --git a/databases/php-pdo_pgsql/Makefile b/databases/php-pdo_pgsql/Makefile index edc14c7adfdb..bd5dd4960353 100644 --- a/databases/php-pdo_pgsql/Makefile +++ b/databases/php-pdo_pgsql/Makefile @@ -1,6 +1,7 @@ # $NetBSD: Makefile,v 1.19 2016/11/12 15:42:51 taca Exp $ MODNAME= pdo_pgsql +PKGNAME= ${PHP_PKG_PREFIX}-${MODNAME}${PGSQL_VERSION}-${PHP_VERSION} CATEGORIES+= databases COMMENT= PHP extension for PHP Data Objects (PostgreSQL) diff --git a/databases/php-pgsql/Makefile b/databases/php-pgsql/Makefile index f29b565a51df..131a89da5d45 100644 --- a/databases/php-pgsql/Makefile +++ b/databases/php-pgsql/Makefile @@ -1,6 +1,7 @@ # $NetBSD: Makefile,v 1.19 2016/11/12 15:42:51 taca Exp $ MODNAME= pgsql +PKGNAME= ${PHP_PKG_PREFIX}-${MODNAME}${PGSQL_VERSION}-${PHP_VERSION} CATEGORIES+= databases COMMENT= PHP extension for PostgreSQL databases diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile index 7eec4ed911c5..5f2c5573a8aa 100644 --- a/databases/phppgadmin/Makefile +++ b/databases/phppgadmin/Makefile @@ -12,7 +12,7 @@ HOMEPAGE= https://github.com/phppgadmin/phppgadmin COMMENT= Set of PHP scripts to administer PostgreSQL over the WWW DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=7.2.0:../../converters/php-mbstring -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=7.2.0:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql PHP_VERSIONS_INCOMPATIBLE= 56 diff --git a/databases/py-mysqlclient/Makefile b/databases/py-mysqlclient/Makefile index 093c8e0ffbcf..afb2127f8798 100644 --- a/databases/py-mysqlclient/Makefile +++ b/databases/py-mysqlclient/Makefile @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.7 2021/06/23 20:33:09 nia Exp $ DISTNAME= mysqlclient-1.4.6 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/mysql/${MYSQL_PKG_PREFIX}/} PKGREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/} diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile index f8ce489e6e06..96a0fd5226b1 100644 --- a/databases/py-mysqldb/Makefile +++ b/databases/py-mysqldb/Makefile @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.52 2021/10/06 18:00:12 tron Exp $ DISTNAME= mysqlclient-1.3.10 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/mysqlclient/mysqldb/} +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/mysqlclient/${MYSQL_PKG_PREFIX}db/} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=m/mysqlclient/} diff --git a/devel/bugzilla/options.mk b/devel/bugzilla/options.mk index 77f6671b2048..d38932c47718 100644 --- a/devel/bugzilla/options.mk +++ b/devel/bugzilla/options.mk @@ -19,7 +19,7 @@ PKG_SUGGESTED_OPTIONS= sqlite ### Use mysql or postgresql backend ### .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= p5-DBD-mysql>=4.000:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql DBDRIVER= mysql .elif !empty(PKG_OPTIONS:Msqlite) DEPENDS+= p5-DBD-SQLite>=1.54:../../databases/p5-DBD-SQLite diff --git a/devel/bugzilla3/options.mk b/devel/bugzilla3/options.mk index aaed3f2d68ad..2ba0c3d84338 100644 --- a/devel/bugzilla3/options.mk +++ b/devel/bugzilla3/options.mk @@ -19,7 +19,7 @@ PKG_SUGGESTED_OPTIONS= mysql ### Use mysql or postgresql backend ### .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= p5-DBD-mysql>=4.000:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql DBDRIVER= mysql .elif !empty(PKG_OPTIONS:Mpgsql) DEPENDS+= p5-DBD-postgresql>=1.45:../../databases/p5-DBD-postgresql diff --git a/devel/mantis/options.mk b/devel/mantis/options.mk index ba1bf49f7bc8..9ed9861081be 100644 --- a/devel/mantis/options.mk +++ b/devel/mantis/options.mk @@ -19,5 +19,5 @@ DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph .if !empty(PKG_OPTIONS:Mmysql) DEPENDS+= ${PHP_PKG_PREFIX}-mysqli-[0-9]*:../../databases/php-mysqli .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql-[0-9]*:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .endif diff --git a/devel/py-trytond/options.mk b/devel/py-trytond/options.mk index 1158e4142da0..4c0d4f2737be 100644 --- a/devel/py-trytond/options.mk +++ b/devel/py-trytond/options.mk @@ -15,7 +15,7 @@ DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal .if !empty(PKG_OPTIONS:Mmysql) PYTHON_VERSIONS_ACCEPTED= 27 # py-mysqldb -DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb +DEPENDS+= ${PYPKGPREFIX}-${MYSQL_PKG_PREFIX}db-[0-9]*:../../databases/py-mysqldb .endif .if !empty(PKG_OPTIONS:Mpydot) diff --git a/devel/rt-mysql/Makefile.common b/devel/rt-mysql/Makefile.common index 719423ef0016..8d7808b06971 100644 --- a/devel/rt-mysql/Makefile.common +++ b/devel/rt-mysql/Makefile.common @@ -55,7 +55,7 @@ REPLACE_PERL+= tools/insertdata \ .if (${RT_DB_TYPE} == "mysql") PKGNAME= ${DISTNAME:S/-/./g:S/./-mysql-/} -DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql RT_DB_HOST?= localhost RT_DB_PORT?= RT_DB_PATH?= ${PREFIX}/lib/mysql diff --git a/devel/rt4/options.mk b/devel/rt4/options.mk index 5a813e6acbf0..a5323a8a0bec 100644 --- a/devel/rt4/options.mk +++ b/devel/rt4/options.mk @@ -20,7 +20,7 @@ DEPENDS+= p5-HTML-Mason>=1.36:../../www/p5-HTML-Mason # Backend database dependencies .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= p5-DBD-mysql>=2.1018:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql RT_DB_TYPE= mysql .elif !empty(PKG_OPTIONS:Mpgsql) DEPENDS+= p5-DBD-postgresql>=1.43:../../databases/p5-DBD-postgresql diff --git a/mail/akonadi/options.mk b/mail/akonadi/options.mk index f2bdbb3addd9..401882ef122b 100644 --- a/mail/akonadi/options.mk +++ b/mail/akonadi/options.mk @@ -17,10 +17,10 @@ MYSQL_VERSIONS_ACCEPTED= 56 .include "../../mk/mysql.buildlink3.mk" DEPENDS+= qt4-mysql-[0-9]*:../../x11/qt4-mysql CMAKE_ARGS+= -DAKONADI_BUILD_QSQLITE=off -. if ${_MYSQL_VERSION} == "56" +. if ${MYSQL_VERSION} == "56" . include "../../databases/mysql56-server/buildlink3.mk" . else -PKG_FAIL_REASON+= "Unknown MySQL version: ${_MYSQL_VERSION}" +PKG_FAIL_RESASON+= "Unknown MySQL version: ${MYSQL_VERSION}" . endif SUBST_CLASSES+= mysql SUBST_STAGE.mysql= pre-configure diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile index ec90aa3fe8f9..d01c976dc897 100644 --- a/mail/opendmarc/Makefile +++ b/mail/opendmarc/Makefile @@ -15,7 +15,7 @@ COMMENT= Open source DMARC library, MTA filter implementation and tools LICENSE= modified-bsd DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI -DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql #DEPENDS+= {perl>=5.6.1,p5-File-Temp-[0-9]*}:../../devel/p5-File-Temp DEPENDS+= p5-Switch-[0-9]*:../../lang/p5-Switch DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message diff --git a/mail/roundcube/options.mk b/mail/roundcube/options.mk index d64a03e6e033..6a67d1557246 100644 --- a/mail/roundcube/options.mk +++ b/mail/roundcube/options.mk @@ -24,7 +24,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql-[0-9]*:../../databases/php-pdo_mysql ### Use postgresql backend. ### .if !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql-[0-9]*:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql .endif ### diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile index bb7f7956a558..0607dab59210 100644 --- a/mail/sympa/Makefile +++ b/mail/sympa/Makefile @@ -96,7 +96,7 @@ RCD_SCRIPTS= archived bounced bulk sympa task_manager .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= p5-DBD-mysql>=2.0407:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql .endif .if !empty(PKG_OPTIONS:Mpgsql) diff --git a/meta-pkgs/bulk-medium/Makefile b/meta-pkgs/bulk-medium/Makefile index c3362580c669..38f09c2755d1 100644 --- a/meta-pkgs/bulk-medium/Makefile +++ b/meta-pkgs/bulk-medium/Makefile @@ -134,7 +134,7 @@ BUILD_DEPENDS+= libvorbis-[0-9]*:../../audio/libvorbis BUILD_DEPENDS+= gdbm-[0-9]*:../../databases/gdbm BUILD_DEPENDS+= p5-BDB-[0-9]*:../../databases/p5-BDB BUILD_DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB -BUILD_DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +BUILD_DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql BUILD_DEPENDS+= p5-DBD-postgresql-[0-9]*:../../databases/p5-DBD-postgresql BUILD_DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI BUILD_DEPENDS+= ${PYPKGPREFIX}-bsddb3-[0-9]*:../../databases/py-bsddb3 diff --git a/meta-pkgs/php56-extensions/Makefile b/meta-pkgs/php56-extensions/Makefile index b8ce27ff9859..38b4404ba177 100644 --- a/meta-pkgs/php56-extensions/Makefile +++ b/meta-pkgs/php56-extensions/Makefile @@ -44,9 +44,9 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php # freetds seems x86-64 only # DEPENDS+= ${PHP_PKG_PREFIX}-pdo_dblib>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_dblib DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_mysql -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_sqlite -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql DEPENDS+= ${PHP_PKG_PREFIX}-sqlite3>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-sqlite3 DEPENDS+= ${PHP_PKG_PREFIX}-posix>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-posix DEPENDS+= ${PHP_PKG_PREFIX}-pspell>=${PHP_VERSION}<${NEXT_VERS}:../../textproc/php-pspell diff --git a/meta-pkgs/php73-extensions/Makefile b/meta-pkgs/php73-extensions/Makefile index 26c114fbe6d3..20b25e91049b 100644 --- a/meta-pkgs/php73-extensions/Makefile +++ b/meta-pkgs/php73-extensions/Makefile @@ -41,9 +41,9 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php # DEPENDS+= ${PHP_PKG_PREFIX}-pdo_dblib>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_dblib DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_mysql DEPENDS+= ${PHP_PKG_PREFIX}-sqlite3>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-sqlite3 -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_sqlite -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql DEPENDS+= ${PHP_PKG_PREFIX}-posix>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-posix DEPENDS+= ${PHP_PKG_PREFIX}-pspell>=${PHP_VERSION}<${NEXT_VERS}:../../textproc/php-pspell DEPENDS+= ${PHP_PKG_PREFIX}-shmop>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-shmop diff --git a/meta-pkgs/php74-extensions/Makefile b/meta-pkgs/php74-extensions/Makefile index 7bacef4fe9fd..bcd3eede261c 100644 --- a/meta-pkgs/php74-extensions/Makefile +++ b/meta-pkgs/php74-extensions/Makefile @@ -41,9 +41,9 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php # DEPENDS+= ${PHP_PKG_PREFIX}-pdo_dblib>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_dblib DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_mysql DEPENDS+= ${PHP_PKG_PREFIX}-sqlite3>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-sqlite3 -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_sqlite -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql DEPENDS+= ${PHP_PKG_PREFIX}-posix>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-posix DEPENDS+= ${PHP_PKG_PREFIX}-pspell>=${PHP_VERSION}<${NEXT_VERS}:../../textproc/php-pspell DEPENDS+= ${PHP_PKG_PREFIX}-shmop>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-shmop diff --git a/meta-pkgs/php80-extensions/Makefile b/meta-pkgs/php80-extensions/Makefile index c9dfae59ef3b..701ad309a199 100644 --- a/meta-pkgs/php80-extensions/Makefile +++ b/meta-pkgs/php80-extensions/Makefile @@ -40,9 +40,9 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php # DEPENDS+= ${PHP_PKG_PREFIX}-pdo_dblib>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_dblib DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_mysql DEPENDS+= ${PHP_PKG_PREFIX}-sqlite3>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-sqlite3 -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_pgsql DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pdo_sqlite -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql{13,12,11,10,96,95,94,93}>=${PHP_VERSION}<${NEXT_VERS}:../../databases/php-pgsql DEPENDS+= ${PHP_PKG_PREFIX}-posix>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-posix DEPENDS+= ${PHP_PKG_PREFIX}-pspell>=${PHP_VERSION}<${NEXT_VERS}:../../textproc/php-pspell DEPENDS+= ${PHP_PKG_PREFIX}-shmop>=${PHP_VERSION}<${NEXT_VERS}:../../devel/php-shmop diff --git a/mk/mysql.buildlink3.mk b/mk/mysql.buildlink3.mk index 0975d534ae26..d92255d05d4a 100644 --- a/mk/mysql.buildlink3.mk +++ b/mk/mysql.buildlink3.mk @@ -22,45 +22,77 @@ # Variables set by this file: # # MYSQL_VERSION +# MYSQL_PKG_PREFIX .if !defined(MYSQL_VERSION_MK) MYSQL_VERSION_MK= # defined BUILD_DEFS+= MYSQL_VERSION_DEFAULT BUILD_DEFS_EFFECTS+= MYSQL_VERSION +BUILD_DEFS_EFFECTS+= MYSQL_PKG_PREFIX _VARGROUPS+= mysql _USER_VARS.mysql= MYSQL_VERSION_DEFAULT _PKG_VARS.mysql= MYSQL_VERSIONS_ACCEPTED _SYS_VARS.mysql= MYSQL_VERSION MYSQL_VERSION_REQD MYSQL_VERSIONS_ALL +_SYS_VARS.mysql+= MYSQL_PKG_PREFIX # # Set variables for all possible MySQL variants # MYSQL_VERSIONS_ALL= 80 57 56 mariadb106 mariadb105 mariadb104 +MYSQL_VERSIONS_ALL+= percona80 percona57 percona56 +MYSQL_VERSIONS_ALL+= percona80-cluster percona57-cluster MYSQL_PKGBASE.80= mysql-client-8.0.* MYSQL_PKGSRCDIR.80= ../../databases/mysql80-client +MYSQL_PKG_PREFIX.80= mysql80 MYSQL_PKGBASE.57= mysql-client-5.7.* MYSQL_PKGSRCDIR.57= ../../databases/mysql57-client +MYSQL_PKG_PREFIX.57= mysql57 MYSQL_PKGBASE.56= mysql-client-5.6.* MYSQL_PKGSRCDIR.56= ../../databases/mysql56-client +MYSQL_PKG_PREFIX.56= mysql56 MYSQL_PKGBASE.mariadb104= mariadb-client-10.4.* MYSQL_PKGSRCDIR.mariadb104= ../../databases/mariadb104-client +MYSQL_PKG_PREFIX.mariadb104= mariadb104 MYSQL_PKGBASE.mariadb105= mariadb-client-10.5.* MYSQL_PKGSRCDIR.mariadb105= ../../databases/mariadb105-client +MYSQL_PKG_PREFIX.mariadb105= mariadb105 MYSQL_PKGBASE.mariadb106= mariadb-client-10.6.* MYSQL_PKGSRCDIR.mariadb106= ../../databases/mariadb106-client +MYSQL_PKG_PREFIX.mariadb106= mariadb106 + +MYSQL_PKGBASE.percona80= percona-client-8.0.* +MYSQL_PKGSRCDIR.percona80= ../../joyent/percona80-client +MYSQL_PKG_PREFIX.percona80= percona80 + +MYSQL_PKGBASE.percona57= percona-client-5.7.* +MYSQL_PKGSRCDIR.percona57= ../../joyent/percona57-client +MYSQL_PKG_PREFIX.percona57= percona57 + +MYSQL_PKGBASE.percona56= percona-client-5.6.* +MYSQL_PKGSRCDIR.percona56= ../../joyent/percona56-client +MYSQL_PKG_PREFIX.percona56= percona56 + +MYSQL_PKGBASE.percona80-cluster= percona-cluster-8.0.* +MYSQL_PKGSRCDIR.percona80-cluster= ../../joyent/percona80-cluster +MYSQL_PKG_PREFIX.percona80-cluster= percona80-cluster + +MYSQL_PKGBASE.percona57-cluster= percona-cluster-5.7.* +MYSQL_PKGSRCDIR.percona57-cluster= ../../joyent/percona57-cluster +MYSQL_PKG_PREFIX.percona57-cluster= percona57-cluster .for ver in ${MYSQL_VERSIONS_ALL} MYSQL_OK.${ver}= no MYSQL_INSTALLED.${ver}= no _SYS_VARS.mysql+= MYSQL_PKGBASE.${ver} MYSQL_PKGSRCDIR.${ver} +_SYS_VARS.mysql+= MYSQL_PKG_PREFIX.${ver} .endfor .include "../../mk/bsd.prefs.mk" @@ -71,7 +103,9 @@ _SYS_VARS.mysql+= MYSQL_PKGBASE.${ver} MYSQL_PKGSRCDIR.${ver} # be chosen. # MYSQL_VERSION_DEFAULT?= mariadb106 -MYSQL_VERSIONS_ACCEPTED?= 57 56 80 mariadb106 mariadb105 mariadb104 +MYSQL_VERSIONS_ACCEPTED?= 57 56 80 mariadb106 mariadb105 mariadb104 \ + percona80 percona57 percona56 \ + percona80-cluster percona57-cluster # # Previous versions of this file used shouty caps in the version names. We @@ -131,4 +165,7 @@ MYSQL_VERSION= ${MYSQL_VERSIONS_ACCEPTED:[1]} PKG_FAIL_REASON+= "[mysql.buildlink3.mk] Invalid MySQL version '${MYSQL_VERSION}'." .endif +MYSQL_PKG_PREFIX= ${MYSQL_PKG_PREFIX.${MYSQL_VERSION}} +MULTI+= MYSQL_VERSION=${MYSQL_VERSION} + .endif # MYSQL_VERSION_MK diff --git a/net/dnscheck/Makefile b/net/dnscheck/Makefile index b58515bbaae4..6d72cccf96a6 100644 --- a/net/dnscheck/Makefile +++ b/net/dnscheck/Makefile @@ -23,7 +23,7 @@ DEPENDS+= p5-Socket6>=0.19:../../net/p5-Socket6 DEPENDS+= p5-IO-Socket-INET6>=2.51:../../net/p5-IO-Socket-INET6 DEPENDS+= p5-Mail-RFC822-Address-[0-9]*:../../mail/p5-Mail-RFC822-Address DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI -DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql DEPENDS+= p5-Config-Any-[0-9]*:../../devel/p5-Config-Any DEPENDS+= p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir DEPENDS+= p5-File-ShareDir-Install-[0-9]*:../../devel/p5-File-ShareDir-Install diff --git a/net/icingaweb2/options.mk b/net/icingaweb2/options.mk index 06f602468b38..c1187e4b1b7f 100644 --- a/net/icingaweb2/options.mk +++ b/net/icingaweb2/options.mk @@ -14,5 +14,5 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql-[0-9]*:../../databases/php-pdo_mysql .if !empty(PKG_OPTIONS:Mpgsql) DEPENDS+= ${PHP_PKG_PREFIX}-pdo-[0-9]*:../../databases/php-pdo -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql-[0-9]*:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql .endif diff --git a/net/proftpd-mysql/Makefile b/net/proftpd-mysql/Makefile index 9a1e18796b16..14e0e27f1d80 100644 --- a/net/proftpd-mysql/Makefile +++ b/net/proftpd-mysql/Makefile @@ -3,7 +3,7 @@ .include "../../net/proftpd/Makefile.module" PROFTPD_MOD= mysql -PKGNAME= ${DISTNAME:S/proftpd/proftpd-${PROFTPD_MOD}/} +PKGNAME= ${DISTNAME:S/proftpd/proftpd-${MYSQL_PKG_PREFIX}/} PKGREVISION= 1 COMMENT= MySQL module for proftpd diff --git a/net/proftpd/Makefile.common b/net/proftpd/Makefile.common index e5aedc305c9c..c87c69020f07 100644 --- a/net/proftpd/Makefile.common +++ b/net/proftpd/Makefile.common @@ -41,6 +41,11 @@ BUILD_DEFS+= VARBASE CHECK_SHLIBS_SKIP= libexec/proftpd/*.a CHECK_SSP_SKIP= ${CHECK_SHLIBS_SKIP} +SUBST_CLASSES+= libs +SUBST_STAGE.libs= pre-build +SUBST_FILES.libs= modules/mod_sql_mysql.c +SUBST_SED.libs= -e 's|^\(.\*\ \$$Libraries:\ \).* \$$|\1'"`mysql_config --libs`"'\ \$$|' + pre-configure: cd ${WRKSRC} && ${TOOLS_CMD.autoconf} &&\ cd contrib/mod_load && ${TOOLS_CMD.autoconf} diff --git a/net/proftpd/distinfo b/net/proftpd/distinfo index a33a4bfd521e..eadab0e4a926 100644 --- a/net/proftpd/distinfo +++ b/net/proftpd/distinfo @@ -5,6 +5,7 @@ SHA512 (proftpd-1.3.6c.tar.gz) = 9b10e603b26d527b594682a4905e70dc0a8361372ed80a8 Size (proftpd-1.3.6c.tar.gz) = 20271908 bytes SHA1 (patch-Make.rules.in) = 4689fcb4aff5c9b3a2e47a43b93e76101d54e812 SHA1 (patch-Makefile.in) = 332dcd9d773770c10d876dc9da1dc7f6b1c15421 +SHA1 (patch-configure) = 999ffe0d8826340cf95cb425378616a39859b3df SHA1 (patch-configure.in) = ed8e190a89cbfc3276d9e77f0bbb624f6d19f816 SHA1 (patch-contrib_mod__load_configure.in) = 0a72c47bf813ffd2ca8f8188a2d8596ec4d60200 SHA1 (patch-contrib_mod__load_mod__load.c) = c51abd46ffc950b5baec615a0fdaf92c993414e3 diff --git a/net/proftpd/patches/patch-configure b/net/proftpd/patches/patch-configure new file mode 100644 index 000000000000..ba3673acde81 --- /dev/null +++ b/net/proftpd/patches/patch-configure @@ -0,0 +1,15 @@ +$NetBSD$ + +Help linker find -lperconaserverclient for percona + +--- configure.orig 2017-04-10 02:31:02.000000000 +0000 ++++ configure +@@ -40004,7 +40004,7 @@ if test x"$pr_use_mysql" = xyes; then + LDFLAGS="$LDFLAGS $ac_build_addl_libdirs" + + LIBS=`echo "$LIBS" | sed -e 's/-lsupp//g'`; +- LIBS="$LIBS -lm -lmysqlclient -lz" ++ LIBS="$LIBS $(mysql_config --libs)" + + { echo "$as_me:$LINENO: checking for mysql_get_option" >&5 + echo $ECHO_N "checking for mysql_get_option... $ECHO_C" >&6; } diff --git a/security/zoneminder/Makefile b/security/zoneminder/Makefile index fbdcade7cc85..452bb8eafc90 100644 --- a/security/zoneminder/Makefile +++ b/security/zoneminder/Makefile @@ -38,6 +38,9 @@ GNU_CONFIGURE= yes USE_LANGUAGES= c c++ USE_TOOLS+= aclocal autoconf autoheader automake gmake perl pkg-config +# Make sure p5-DBD-{mysql,percona}* matches the mysql.bl3 above +BUILD_DEPENDS+= p5-DBD-${MYSQL_PKG_PREFIX}-[0-9]*:../../databases/p5-DBD-mysql + # zoneminder can depend on a number of perl modules depending on # configuration. We take the view that if an installation can be # reasonably configured to use a module, that module should be a @@ -49,7 +52,7 @@ USE_TOOLS+= aclocal autoconf autoheader automake gmake perl pkg-config DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip DEPENDS+= p5-Device-SerialPort-[0-9]*:../../comms/p5-Device-SerialPort -DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql +DEPENDS+= p5-DBD-{mysql,percona}*-[0-9]*:../../databases/p5-DBD-mysql DEPENDS+= p5-MIME-Lite-[0-9]*:../../mail/p5-MIME-Lite DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools DEPENDS+= p5-Net-SFTP-Foreign-[0-9]*:../../net/p5-Net-SFTP-Foreign diff --git a/sysutils/zabbix-frontend/Makefile b/sysutils/zabbix-frontend/Makefile index 07827cf6fe83..927ef5fd6f7e 100644 --- a/sysutils/zabbix-frontend/Makefile +++ b/sysutils/zabbix-frontend/Makefile @@ -26,7 +26,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=5.4.0:../../devel/php-gettext DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=5.4.0:../../databases/php-ldap DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4.0:../../converters/php-mbstring DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.4.0:../../databases/php-mysqli -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.4.0:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql DEPENDS+= ${PHP_PKG_PREFIX}-sockets>=5.4.0:../../net/php-sockets DEPENDS+= ${PHP_PKG_PREFIX}-sysvsem>=5.4.0:../../devel/php-sysvsem diff --git a/time/php-mrbs/options.mk b/time/php-mrbs/options.mk index 4721da33a229..4e0b55672295 100644 --- a/time/php-mrbs/options.mk +++ b/time/php-mrbs/options.mk @@ -16,7 +16,7 @@ PKG_SUGGESTED_OPTIONS= mysql DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql PHP_VERSIONS_ACCEPTED= 56 .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .else PKG_FAIL_REASON+= ${PKGNAME} needs either mysql or pgsql .endif diff --git a/www/davical/Makefile b/www/davical/Makefile index 22f1fe21573c..f881a12e34f3 100644 --- a/www/davical/Makefile +++ b/www/davical/Makefile @@ -33,8 +33,8 @@ INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/config .include "../../lang/php/phpversion.mk" -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=4.3.1:../../databases/php-pgsql -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_BASE_VERS}:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql DEPENDS+= ${PHP_PKG_PREFIX}-libawl>=0.56:../../devel/php-libawl DEPENDS+= ${PHP_PKG_PREFIX}-calendar>=5.3.18:../../time/php-calendar DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.3.18:../../www/php-curl diff --git a/www/drupal7/options.mk b/www/drupal7/options.mk index 166d129166cc..3f4e7e3e72a4 100644 --- a/www/drupal7/options.mk +++ b/www/drupal7/options.mk @@ -14,7 +14,7 @@ PKG_SUGGESTED_OPTIONS= mysql apache ### Use PostgreSQL for storing Drupal data ### .if !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=5.2.7:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql .elif !empty(PKG_OPTIONS:Mmysql) ### ### Use MySQL for storing Drupal data diff --git a/www/drupal8/options.mk b/www/drupal8/options.mk index 14edd2a13435..a634cc29d30f 100644 --- a/www/drupal8/options.mk +++ b/www/drupal8/options.mk @@ -14,7 +14,7 @@ PKG_SUGGESTED_OPTIONS= mysql apache ### Use PostgreSQL for storing Drupal data ### .if !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=5.2.7:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql .elif !empty(PKG_OPTIONS:Mmysql) ### ### Use MySQL for storing Drupal data diff --git a/www/horde/options.mk b/www/horde/options.mk index 27f17754a630..d25e91fa8a0f 100644 --- a/www/horde/options.mk +++ b/www/horde/options.mk @@ -17,7 +17,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=4.3.3:../../databases/php-ldap ### Use PostgreSQL for storing user details ### .if !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=4.3.3:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .endif ### diff --git a/www/mediawiki/options.mk b/www/mediawiki/options.mk index 4f5091dd782c..280d6498e0e3 100644 --- a/www/mediawiki/options.mk +++ b/www/mediawiki/options.mk @@ -16,7 +16,7 @@ PKG_SUGGESTED_OPTIONS= apache mysql .if !empty(PKG_OPTIONS:Mmysql) DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.5.9:../../databases/php-mysqli .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .endif .if !empty(PKG_OPTIONS:Mapache) diff --git a/www/moodle/options.mk b/www/moodle/options.mk index 6843a10cc028..a226aa260844 100644 --- a/www/moodle/options.mk +++ b/www/moodle/options.mk @@ -14,5 +14,5 @@ PKG_SUGGESTED_OPTIONS= mysql .if !empty(PKG_OPTIONS:Mmysql) DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=7.0.0:../../databases/php-mysqli .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=7.0.0:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .endif diff --git a/www/php-basercms/options.mk b/www/php-basercms/options.mk index 993667852ea3..20e7b59564bd 100644 --- a/www/php-basercms/options.mk +++ b/www/php-basercms/options.mk @@ -21,7 +21,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.2.0:../../databases/php-pdo_mysql # 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}-pdo_pgsql>=5.2.0:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql .elif !!empty(PKG_OPTIONS:Mcsv) # no DEPENDS .endif diff --git a/www/php-nextcloud/options.mk b/www/php-nextcloud/options.mk index 277e6ba820f3..9cacea0bd75c 100644 --- a/www/php-nextcloud/options.mk +++ b/www/php-nextcloud/options.mk @@ -17,5 +17,5 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.2.0:../../databases/php-pdo_mysql .elif !empty(PKG_OPTIONS:Msqlite3) DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=5.4.0:../../databases/php-pdo_sqlite .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=5.4.0:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql .endif diff --git a/www/php-owncloud/options.mk b/www/php-owncloud/options.mk index 71a5f0646185..383d6538e453 100644 --- a/www/php-owncloud/options.mk +++ b/www/php-owncloud/options.mk @@ -21,6 +21,6 @@ DEPENDS+= ${PHP_PKG_PREFIX}-sqlite3>=5.4.0:../../databases/php-sqlite3 # complained/failed that PDO was not present. DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=5.4.0:../../databases/php-pdo_sqlite .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=5.4.0:../../databases/php-pdo_pgsql -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.4.0:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql*-[0-9]*:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .endif diff --git a/www/php-tt-rss/options.mk b/www/php-tt-rss/options.mk index 7ec66b314a64..a3364272d56f 100644 --- a/www/php-tt-rss/options.mk +++ b/www/php-tt-rss/options.mk @@ -16,5 +16,5 @@ PKG_SUGGESTED_OPTIONS= pgsql DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql PHP_VERSIONS_ACCEPTED= 56 .elif !empty(PKG_OPTIONS:Mpgsql) -DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql*-[0-9]*:../../databases/php-pgsql .endif diff --git a/www/py-django14/options.mk b/www/py-django14/options.mk index 2d8dd1ce537a..d51f46cdc99a 100644 --- a/www/py-django14/options.mk +++ b/www/py-django14/options.mk @@ -9,7 +9,7 @@ PKG_SUGGESTED_OPTIONS= pgsql PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} .if !empty(PKG_OPTIONS:Mmysql) -DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb +DEPENDS+= ${PYPKGPREFIX}-${MYSQL_PKG_PREFIX}db-[0-9]*:../../databases/py-mysqldb PYTHON_VERSIONS_ACCEPTED= 27 # py-mysqldb PLIST.mysql= yes .endif