Source
xxxxxxxxxx
--- configure.org 2016-04-19 18:47:42.000000000 +0200
+++ configure 2016-04-19 18:49:24.000000000 +0200
BAT_DIR=
if test x$support_bat = xyes; then
+ # by MacPorts patch
+ export QMAKE="$prefix/libexec/qt4/bin/qmake"
+ export PKG_CONFIG_PATH="$prefix/libexec/qt4/lib/pkgconfig"
+ # by MacPorts patch end
abc=`$PKGCONFIG QtGui`
pkg=$?
if test $pkg = 0; then