# HG changeset patch # User John W. Eaton # Date 1409150050 14400 # Node ID 73dc0213c8ace4b07861a02ee0c06f6dbd9cc3fc # Parent e4ce23a86225a5a078eefe345368e6847b2bf3ac qt.mk: edit configure script for systems with /usr/X11R6/lib64 directory diff -r e4ce23a86225 -r 73dc0213c8ac src/qt.mk --- a/src/qt.mk Tue Aug 26 14:55:29 2014 -0400 +++ b/src/qt.mk Wed Aug 27 10:34:10 2014 -0400 @@ -120,6 +120,11 @@ define $(PKG)_BUILD ## syncqt needs QTDIR set to find the sources cd '$(1)' && QTDIR='$(1)' ./bin/syncqt + ## FIXME: LDFLAGS was not correct for SuSE 10.4 systems. Is there + ## a better way to handle this problem? + if [ -d '/usr/X11R6/lib64' ]; then \ + sed -i 's/PLATFORM=linux-g++/PLATFORM=linux-g++-64/' '$(1)/configure' \ + fi cd '$(1)' && QTDIR='$(1)' \ $($(PKG)_CONFIGURE_ENV) \ ./$($(PKG)_CONFIGURE_CMD) \