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.
This commit is contained in:
Cory Fields 2013-12-02 20:16:45 -05:00
parent 8b0f608815
commit 2691cbc4b3

View File

@ -191,7 +191,7 @@ case $host in
AC_CHECK_PROG([PORT],port, port) AC_CHECK_PROG([PORT],port, port)
if test x$PORT = xport; then if test x$PORT = xport; then
dnl add default macports paths 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" LIBS="$LIBS -L/opt/local/lib -L/opt/local/lib/db48"
fi fi