mysql: don't depend on mysql-init-script in Prefix
authorFabian Groffen <grobian@gentoo.org>
Sun, 25 Sep 2011 12:43:28 +0000 (12:43 +0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 25 Sep 2011 12:43:28 +0000 (12:43 +0000)
eclass/mysql-v2.eclass
eclass/mysql.eclass

index c11e6eb86ae4048d12cff57861eb3e853b05348e..d50c9c21a4f56c315211b0f490018240ae4ab3d7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.7 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.8 2011/09/25 12:43:28 grobian Exp $
 
 # @ECLASS: mysql-v2.eclass
 # @MAINTAINER:
@@ -251,8 +251,9 @@ for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do
        DEPEND="${DEPEND} !dev-db/${i}"
 done
 
+# prefix: first need to implement something for #196294
 RDEPEND="${DEPEND}
-       !minimal? ( dev-db/mysql-init-scripts )
+       !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) )
        selinux? ( sec-policy/selinux-mysql )
 "
 
index 8538c846b936edf7209666c171cfc915ca450e41..78b482b383f228d74b3970a1b61577790e6bed46 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.165 2011/08/29 01:28:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.166 2011/09/25 12:43:28 grobian Exp $
 
 # @ECLASS: mysql.eclass
 # @MAINTAINER:
@@ -142,8 +142,9 @@ for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do
        DEPEND="${DEPEND} !dev-db/${i}"
 done
 
+# prefix: first need to implement something for #196294
 RDEPEND="${DEPEND}
-               !minimal? ( dev-db/mysql-init-scripts )
+               !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) )
                selinux? ( sec-policy/selinux-mysql )"
 
 DEPEND="${DEPEND}