commit:     7849edad186b9ceaee2635b784c2c14dbc18edfa
Author:     Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Thu Mar  2 17:42:09 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 09:05:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7849edad

www-apps/otrs-5.0.16: fix confutils, #610484, minor cleanup

Closes: https://github.com/gentoo/gentoo/pull/4096

 www-apps/otrs/otrs-5.0.16.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
index 4ad6fe3662f..664e89770cd 100644
--- a/www-apps/otrs/otrs-5.0.16.ebuild
+++ b/www-apps/otrs/otrs-5.0.16.ebuild
@@ -14,6 +14,8 @@ KEYWORDS="~amd64 ~x86"
 IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
 SLOT="0"
 
+REQUIRED_USE="|| ( mysql postgres )"
+
 DEPEND="media-libs/libpng:0"
 
 RDEPEND="dev-perl/Apache-Reload
@@ -69,11 +71,10 @@ pkg_setup() {
        enewgroup apache 81
        enewuser apache 81 -1 /var/www apache
        enewuser otrs -1 -1 ${OTRS_HOME} apache
-       confutils_require_any mysql postgres
 }
 
 src_prepare() {
-       rm -r "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die
+       rm -r "${S}/scripts"/auto_* || die
 
        pushd Kernel >/dev/null || die
        for i in *.dist; do

Reply via email to