Mercurial > mxe-octave
diff src/qt.mk @ 3696:73dc0213c8ac
qt.mk: edit configure script for systems with /usr/X11R6/lib64 directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 27 Aug 2014 10:34:10 -0400 |
parents | 695c90731c85 |
children | a515e5de5f8a |
line wrap: on
line diff
--- 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) \