From ce76b2d00d9a0c0e81adcf1e0ef96db560369c02 Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Mon, 22 Aug 2022 06:56:42 +0200
Subject: [PATCH] Remove a few hard-coded MacPorts search paths.

---
 externals/autotune/Makefile                | 2 +-
 externals/tb/sndfiler/src/Makefile.pd_main | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/externals/autotune/Makefile b/externals/autotune/Makefile
index abd41373d..ed41cb625 100644
--- a/externals/autotune/Makefile
+++ b/externals/autotune/Makefile
@@ -102,7 +102,7 @@ ifeq ($(UNAME),Darwin)
     endif
     CFLAGS += $(FAT_FLAGS) -fPIC \
       -I/Applications/Pd-extended.app/Contents/Resources/include
-    LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/opt/local/lib
+    LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup
     # if the 'pd' binary exists, check the linking against it to aid with stripping
     LDFLAGS += $(shell test -e $(PD_PATH)/bin/pd && echo -bundle_loader $(PD_PATH)/bin/pd)
     LIBS += -lc 
diff --git a/externals/tb/sndfiler/src/Makefile.pd_main b/externals/tb/sndfiler/src/Makefile.pd_main
index f4a407120..e85e252a4 100755
--- a/externals/tb/sndfiler/src/Makefile.pd_main
+++ b/externals/tb/sndfiler/src/Makefile.pd_main
@@ -100,7 +100,7 @@ pd_darwin: $(NAME).pd_darwin
 CC_DARWIN = -pthread
 LD_DARWIN = -bundle -undefined suppress -flat_namespace \
             -bundle_loader $(PD_PATH)/bin/pd --export-dynamic \
-            -L/opt/local/lib -lsndfile -lvorbisfile \
+            -lsndfile -lvorbisfile \
             $(THREADLIB_PATH)/threadlib.pd_darwin
 
 .c.pd_darwin:
-- 
GitLab