From 2691cbc4b3c97a468b23f2c11dbe992dfb3f8bcb Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Mon, 2 Dec 2013 20:16:45 -0500 Subject: [PATCH] qt5: Force macports default include path to be searched last Allows outside includes to take precedence. In particular, this allows for a specified Qt to be used without clashing with macports' headers. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3c7d4db4af..11a9a3118e 100644 --- a/configure.ac +++ b/configure.ac @@ -191,7 +191,7 @@ case $host in AC_CHECK_PROG([PORT],port, port) if test x$PORT = xport; then dnl add default macports paths - CPPFLAGS="$CPPFLAGS -I/opt/local/include -I/opt/local/include/db48" + CPPFLAGS="$CPPFLAGS -isystem /opt/local/include -I/opt/local/include/db48" LIBS="$LIBS -L/opt/local/lib -L/opt/local/lib/db48" fi