From 20383b718d9f493ba8ce9336e094ddd501de700b Mon Sep 17 00:00:00 2001
From: H William Welliver <william@welliver.org>
Date: Mon, 14 Dec 2020 19:18:31 -0500
Subject: [PATCH] configure: add a more targeted path inclusion

---
 src/configure.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/configure.in b/src/configure.in
index ef35a0878a..3c3126b392 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -2564,6 +2564,11 @@ fi
 
 primary_path=""
 fallback_path=""
+
+case "$pike_cv_sys_os" in
+  Solaris*)   p_site_prefixes_to_add="$p_site_prefixes_to_add:$with_root/opt/local";;
+esac
+
 if test $ldflags_is_set = yes -a $cppflags_is_set = yes ; then :; else
   for dd in \
     `echo "${p_site_prefixes_to_add}"|sed -e 's/:/ /g'` \
-- 
GitLab