summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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