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
This commit is contained in:
Achim Gsell
2017-05-09 01:32:00 +02:00
parent fcf5c17c83
commit 16bf242bae

View File

@@ -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 \