commit:     0401dbcc1d8ab799ed2179c6b8c87b32451273d7
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Jan  8 18:53:26 2026 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 26 01:58:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0401dbcc

www-apps/redmine: fix installing with USE=passenger

Closes: https://github.com/gentoo/gentoo/pull/44349
Closes: https://bugs.gentoo.org/968492
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 www-apps/redmine/redmine-6.0.7.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/www-apps/redmine/redmine-6.0.7.ebuild 
b/www-apps/redmine/redmine-6.0.7.ebuild
index 814254aaeb02..8bf80ff2494b 100644
--- a/www-apps/redmine/redmine-6.0.7.ebuild
+++ b/www-apps/redmine/redmine-6.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -141,7 +141,6 @@ all_ruby_install() {
                /var/log/${PN}
 
        if use passenger; then
-               has_apache
                insinto "${APACHE_VHOSTS_CONFDIR}"
                doins "${FILESDIR}/10_redmine_vhost.conf"
        fi
@@ -179,6 +178,10 @@ pkg_postinst() {
        fi
 }
 
+pkg_setup() {
+       depend.apache_pkg_setup passenger
+}
+
 pkg_config() {
        # Remove old lock file
        rm -f "${EROOT}${REDMINE_DIR}/Gemfile.lock"

Reply via email to