From bfe4783315a8ea37a1838c1d1cc9c6d11ebe2e4f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 28 May 2014 09:19:12 +0000 Subject: main/zabbix: mark the different database variants as conflicting fixes #2967 --- main/zabbix/APKBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main') diff --git a/main/zabbix/APKBUILD b/main/zabbix/APKBUILD index 94bcf2132..05ec690fa 100644 --- a/main/zabbix/APKBUILD +++ b/main/zabbix/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa pkgname=zabbix pkgver=2.2.3 -pkgrel=1 +pkgrel=2 pkgdesc="Enterprise-class open source distributed monitoring" url="http://www.zabbix.com" arch="all" @@ -126,7 +126,7 @@ setup() { _do_db() { pkgdesc="Zabbix server with $1 database support" - depends=$pkgname + depends="$pkgname $2" local i= mkdir -p "$subpkgdir"/usr/sbin mv "$_builddir-$1"/src/zabbix_server/zabbix_server \ @@ -144,9 +144,9 @@ _do_db() { return 0 } -pgsql() { _do_db postgresql; } -mysql() { _do_db mysql; } -sqlite() { _do_db sqlite3; } +pgsql() { _do_db postgresql "!$pkgname-mysql !$pkgname-sqlite";} +mysql() { _do_db mysql "!$pkgname-pgsql !$pkgname-sqlite";} +sqlite(){ _do_db sqlite3 "!$pkgname-pgsql !$pkgname-mysql";} utils() { pkgdesc="Zabbix client utilities" -- cgit v1.2.3