From 16bf242baef79e7c2a3bd96c796af3a98e321e66 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 9 May 2017 01:32:00 +0200 Subject: [PATCH] Programming/Tk/build - add Macport's include dir to 'C_INCLUDE_PATH' if OS == Darwin - add Macport's library dir to 'LIBRARY_PATH' if OS == Darwin - both is a hack for X11 includes and libraries --- Programming/Tk/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Programming/Tk/build b/Programming/Tk/build index e6419ed..c80934c 100755 --- a/Programming/Tk/build +++ b/Programming/Tk/build @@ -9,6 +9,8 @@ pbuild::configure() { ;; Darwin ) srcdir="${MODULE_SRCDIR}/macosx" + C_INCLUDE_PATH+=":/opt/local/include" + LIBRARY_PATH+=":/opt/local/lib" ;; esac "${srcdir}"/configure \