summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan G. Weichinger <office@oops.co.at>2017-03-02 18:42:09 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-12 10:05:04 +0100
commit7849edad186b9ceaee2635b784c2c14dbc18edfa (patch)
treea5539890f175e535817627c88b0a1f5df6c56879
parentmedia-video/noad: Remove redundant confutils_require_any, #610480 (diff)
downloadgentoo-7849edad186b9ceaee2635b784c2c14dbc18edfa.tar.gz
gentoo-7849edad186b9ceaee2635b784c2c14dbc18edfa.tar.bz2
gentoo-7849edad186b9ceaee2635b784c2c14dbc18edfa.zip
www-apps/otrs-5.0.16: fix confutils, #610484, minor cleanup
Closes: https://github.com/gentoo/gentoo/pull/4096
-rw-r--r--www-apps/otrs/otrs-5.0.16.ebuild5
1 files 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 4ad6fe3662f0..664e89770cd6 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