www-servers/apache: Honour USE="-split-usr"
authorDavid Seifert <soap@gentoo.org>
Fri, 18 Oct 2019 13:16:48 +0000 (15:16 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 16 Nov 2019 18:23:03 +0000 (10:23 -0800)
* Invoking maintainer timeout

Closes: https://bugs.gentoo.org/697974
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
www-servers/apache/apache-2.4.41.ebuild

index 36acc74b4126304426123880914e99b3dfeb4f2d..ce8e5e9803777f7f78336fb205b2357691430e7d 100644 (file)
@@ -142,7 +142,7 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~a
 # FIXME: Move to apache-2.eclass once this has reached stable.
 IUSE="${IUSE/apache2_modules_http2/+apache2_modules_http2}"
 # New suexec options (since 2.4.34)
-IUSE="${IUSE} +suexec-caps suexec-syslog"
+IUSE="${IUSE} +suexec-caps suexec-syslog split-usr"
 
 CDEPEND="apache2_modules_brotli? ( >=app-arch/brotli-0.6.0:= )
        apache2_modules_http2? ( >=net-libs/nghttp2-1.2.1 )
@@ -210,7 +210,7 @@ src_install() {
        # old location until all ebuilds and eclasses have been modified to
        # use the new location.
        dobin support/apxs
-       dosym ../bin/apxs /usr/sbin/apxs
+       use split-usr && dosym ../bin/apxs /usr/sbin/apxs
 
        # Note: wait for mod_systemd to be included in some forthcoming release,
        # Then apache2.4.service can be used and systemd support controlled