--- apache-2.2.27.ebuild 2014-07-04 02:10:06.173365816 +0400 +++ apache-2.2.27.ebuild 2014-07-04 02:09:12.042671890 +0400 @@ -81,7 +81,7 @@ mime " -inherit apache-2 systemd toolchain-funcs +inherit apache-2 systemd toolchain-funcs multilib DESCRIPTION="The Apache Web Server." HOMEPAGE="http://httpd.apache.org/" @@ -109,6 +109,9 @@ epatch "${FILESDIR}"/gentoo-apache-2.2.23-initd_fixups.patch popd &>/dev/null || die cp "${FILESDIR}"/2.2.22-envvars-std.in "${S}"/support/envvars-std.in || die "Failed to apply LD_PRELOAD fix" + + sed -i -e "s:\$ap_ssltk_base/lib:\$ap_ssltk_base/$(get_libdir):g" \ + ./configure || die } src_configure() {