apache-2.eclass: drop path to --with-ssl #516240
authorSteven Newbury <steve@snewbury.org.uk>
Wed, 28 Dec 2016 08:09:18 +0000 (03:09 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 28 Dec 2016 08:10:50 +0000 (03:10 -0500)
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

index 919f82faeb46d62fc1babeffffc686bc8c1d200a..2a85d48290c6c0ad648d679c04632bd76fcd7368 100644 (file)
@@ -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 )