From 05d97da1f669a1486489897128c2374b562ab176 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Tue, 2 Sep 2025 08:41:51 +1000 Subject: [PATCH] Update prefix patch for 8.16.0 Signed-off-by: Matt Jolly --- a/curl-config.in +++ b/curl-config.in @@ -141,7 +141,7 @@ while test "$#" -gt 0; do ;; --cflags) - if test "@includedir@" = '/usr/include'; then + if test "@includedir@" = "GENTOO_PORTAGE_EPREFIX@/usr/include"; then echo '@LIBCURL_PC_CFLAGS@' else echo "@LIBCURL_PC_CFLAGS@ -I@includedir@" @@ -149,7 +149,7 @@ while test "$#" -gt 0; do ;; --libs) - if test "@libdir@" != '/usr/lib' -a "@libdir@" != '/usr/lib64'; then + if test "@libdir@" != "@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "@libdir@" != "@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then curllibdir="-L@libdir@ " else curllibdir='' -- 2.50.1