From 22b48a9511aaa6b9728f4da487edd5e899f1f261 Mon Sep 17 00:00:00 2001
From: Martin Karlgren <marty@roxen.com>
Date: Mon, 15 Jun 2015 13:50:47 +0200
Subject: [PATCH] Build: Look for libs in /opt/local. Useful with MacPorts
 libs.

---
 src/configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/configure.in b/src/configure.in
index 3c3126b392..33991c09a1 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -2574,7 +2574,7 @@ if test $ldflags_is_set = yes -a $cppflags_is_set = yes ; then :; else
     `echo "${p_site_prefixes_to_add}"|sed -e 's/:/ /g'` \
     `echo $exec_prefix | sed "s@^NONE@$prefix@g" | sed "s@^NONE@$with_root$ac_default_prefix@g"` \
     $with_root/usr \
-    $with_root/usr/local $with_root/sw/local $with_root/sw \
+    $with_root/usr/local $with_root/sw/local $with_root/sw $with_root/opt/local \
     $with_root/usr/gnu $with_root/opt/gnu $with_root/sw/gnu \
     $with_root/usr/freeware $with_root/usr/pkg \
     `echo $with_root/opt/gnome* | sort -r` \
-- 
GitLab