From ee77f9e23afd774a9dfa8a087d6925c1fc7f9776 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Sat, 27 Jan 2018 11:38:57 +0100 Subject: [PATCH] Travis Mac: set PKG_CONFIG_PATH to use custom freetype installation Somehow the freetype-config script needs this now to report our custom installation not the system one (which may not exist). I'm not sure why it worked before the dependecy update but maybe the builds scripts in FTGL fixed that for us in the past. --- mac_build/buildFTGL.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mac_build/buildFTGL.sh b/mac_build/buildFTGL.sh index 2c50308c49..4bdabee8e2 100644 --- a/mac_build/buildFTGL.sh +++ b/mac_build/buildFTGL.sh @@ -66,6 +66,9 @@ while [[ $# -gt 0 ]]; do shift # past argument or value done +# needed for ftgl 2.1.3-rc5 to find our freetype 2.9 build not the system one +export PKG_CONFIG_PATH=${libftpath}/lib/pkgconfig:${PKG_CONFIG_PATH} + SRCDIR=$PWD if [ "${doclean}" != "yes" ]; then