net-libs/serf: specify OPENSSL location explicitly.

On Prefix if OPENSSL is found to be in the host directory /usr,
headers in /usr/include will be put after `-I`, not desired.
Explicitly specifying its location does not affect vanilla Gentoo,
thus is a trivial change.  I withhold a revision bump awaring that
that this ebuild has stablized keywords.

Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
Benda Xu
2025-02-23 21:45:54 +08:00
parent 4561bbfc49
commit 0208308dbc

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,6 +43,7 @@ src_compile() {
myesconsargs=(
BUILD_STATIC=no
PREFIX="${EPREFIX}/usr"
OPENSSL="${EPREFIX}/usr"
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
# These config scripts are sent through a shell with an empty env
# which breaks the SYSROOT usage in them. Set the vars inline to