diff --git grovel.lisp grovel.lisp index 18582be..3ed21ff 100644 --- grovel.lisp +++ grovel.lisp @@ -2,7 +2,7 @@ (cc-flags #+windows "-Ic:/include/" #+windows "-Ic:/include/uv/" - #+(or darwin freebsd openbsd) "-I/usr/local/include/" + #+(or darwin freebsd openbsd) "-I@@MACPORTS_PREFIX@@/include/" #+homebrew #.(concatenate 'string "-I" (uiop:getenv "HOMEBREW_PREFIX") "/include/") ) diff --git lib.lisp lib.lisp index e8452eb..8a25d60 100644 --- lib.lisp +++ lib.lisp @@ -8,6 +8,7 @@ "/usr/lib/libuv.so" "/usr/local/lib/libuv.so" ; brew's install of libevent on Mac OX X + #-darwin "/usr/local/lib/libuv.dylib")) (:windows (:or "libuv.dll" ; msys2/mingw64's install of libuv diff --git scripts/bindings.i scripts/bindings.i index b553870..796487c 100644 --- scripts/bindings.i +++ scripts/bindings.i @@ -103,5 +103,4 @@ // function is worthless %ignore "uv_buf_init"; -%include "/usr/local/include/uv.h" - +%include "@@MACPORTS_PREFIX@@/include/uv.h" diff --git scripts/win-error.i scripts/win-error.i index aa452b9..9c10f8a 100644 --- scripts/win-error.i +++ scripts/win-error.i @@ -37,5 +37,4 @@ #define UV_SIGNAL_PRIVATE_FIELDS #define UV_LOOP_PRIVATE_FIELDS -%include "/usr/local/include/uv.h" - +%include "@@MACPORTS_PREFIX@@/include/uv.h"