commit:     f3bcb27dfa43b87e8e67f8cc23f16816630b563c
Author:     Steven Newbury <steve <AT> snewbury <DOT> org <DOT> uk>
AuthorDate: Wed Dec 28 08:09:18 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 08:10:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3bcb27d

apache-2.eclass: drop path to --with-ssl #516240

The apache configure script assumes that, if you passed in a path, that
it's to a standalone install of openssl.  It'll then go poking in that
dir directly and possible add flags for building against it.  This also
breaks building/linking of other libraries, in both multilib and cross-
compile setups.

By dropping the path, we force apache to do the lookup via pkg-config.

 eclass/apache-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 919f82f..2a85d48 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -270,7 +270,7 @@ setup_modules() {
        fi
 
        if use ssl ; then
-               MY_CONF+=( --with-ssl="${EPREFIX}"/usr --enable-ssl=${mod_type} 
)
+               MY_CONF+=( --with-ssl --enable-ssl=${mod_type} )
                MY_MODS+=( ssl )
        else
                MY_CONF+=( --without-ssl --disable-ssl )

Reply via email to