freebsd-ports/devel/qt5/files/extrapatch-config.tests-unix-compile.test
Tijl Coosemans 999fc210ce - Make Qt4 and Qt5 respect CXXFLAGS during configure so they pick up
-DLIBICONV_PLUG from USES=iconv and always use libc iconv when it is
  available.
- Remove the iconv dependency from Qt5.  It uses icu instead.

PR:		ports/186707
Approved by:	kde (makc)
2014-03-23 19:58:33 +00:00

11 lines
272 B
Text

--- config.tests/unix/compile.test.orig
+++ config.tests/unix/compile.test
@@ -13,7 +13,7 @@
shift 7
LFLAGS="$SYSROOT_FLAG"
INCLUDEPATH=""
-CXXFLAGS="$SYSROOT_FLAG"
+CXXFLAGS="$CXXFLAGS $SYSROOT_FLAG"
MAC_ARCH_CXXFLAGS=""
MAC_ARCH_LFLAGS=""
while [ "$#" -gt 0 ]; do