comparison 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
comparison
equal deleted inserted replaced
3695:e4ce23a86225 3696:73dc0213c8ac
118 endef 118 endef
119 119
120 define $(PKG)_BUILD 120 define $(PKG)_BUILD
121 ## syncqt needs QTDIR set to find the sources 121 ## syncqt needs QTDIR set to find the sources
122 cd '$(1)' && QTDIR='$(1)' ./bin/syncqt 122 cd '$(1)' && QTDIR='$(1)' ./bin/syncqt
123 ## FIXME: LDFLAGS was not correct for SuSE 10.4 systems. Is there
124 ## a better way to handle this problem?
125 if [ -d '/usr/X11R6/lib64' ]; then \
126 sed -i 's/PLATFORM=linux-g++/PLATFORM=linux-g++-64/' '$(1)/configure' \
127 fi
123 cd '$(1)' && QTDIR='$(1)' \ 128 cd '$(1)' && QTDIR='$(1)' \
124 $($(PKG)_CONFIGURE_ENV) \ 129 $($(PKG)_CONFIGURE_ENV) \
125 ./$($(PKG)_CONFIGURE_CMD) \ 130 ./$($(PKG)_CONFIGURE_CMD) \
126 $($(PKG)_CONFIGURE_INCLUDE_OPTION) \ 131 $($(PKG)_CONFIGURE_INCLUDE_OPTION) \
127 $($(PKG)_CONFIGURE_LIBPATH_OPTION) \ 132 $($(PKG)_CONFIGURE_LIBPATH_OPTION) \