--- .config/buildmode.nims.orig	2026-01-21 17:28:15
+++ .config/buildmode.nims	2026-01-21 17:30:54
@@ -21,21 +21,15 @@
     --define:useOpenssl3
     if hostOS == "macosx":
         # Headers
-        --passC:"-I/opt/homebrew/include"      # ARM64 Homebrew
-        --passC:"-I/usr/local/include"         # Intel Homebrew
-        --passC:"-I/opt/local/include"         # MacPorts
+        --passC:"-I@@PREFIX@@/include"         # MacPorts
+        --passC:"-I@@OPENSSL_PREFIX@@/include"  # OpenSSL 3
         
         # Library paths
-        --passL:"-L/opt/homebrew/lib"          # ARM64 Homebrew
-        --passL:"-L/usr/local/lib"             # Intel Homebrew
-        --passL:"-L/opt/local/lib"             # MacPorts
+        --passL:"-L@@PREFIX@@/lib"             # MacPorts
+        --passL:"-L@@OPENSSL_PREFIX@@/lib"      # OpenSSL 3
         
         # Runtime search paths
-        --passL:"-Wl,-rpath,/opt/homebrew/opt/mpfr/lib"
-        --passL:"-Wl,-rpath,/opt/homebrew/opt/gmp/lib"
-        --passL:"-Wl,-rpath,/usr/local/opt/mpfr/lib"
-        --passL:"-Wl,-rpath,/usr/local/opt/gmp/lib"
-        --passL:"-Wl,-rpath,/opt/local/lib"
+        --passL:"-Wl,-rpath,@@PREFIX@@/lib"
         
         --passL:"-Wl,-headerpad_max_install_names"
     --define:ssl