# HG changeset patch # User Xander Ziiryanoff # Date 1482435792 -3600 # Node ID bb506432c82c0357fcf83c9b4ed67d3f9abb4772 # Parent 1e7cef522d76cfac21d8dd1c197afd28d867e71a qt4: patch configure -no-rpath diff -r 1e7cef522d76 -r bb506432c82c qt4/receipt --- a/qt4/receipt Thu Dec 22 18:29:37 2016 +0100 +++ b/qt4/receipt Thu Dec 22 20:43:12 2016 +0100 @@ -24,12 +24,15 @@ libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \ pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \ pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \ -xorg-libXv-dev sqlite-dev wayland-dev libQtClucene " # ? +xorg-libXv-dev sqlite-dev" # wayland-dev libQtClucene # Rules to configure and make the package. compile_rules() { - ./configure\ + # sed -i "s|-O2|${CXXFLAGS}|" mkspecs/common/{g++,gcc}-base.conf + sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" mkspecs/common/gcc-base-unix.conf + sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" mkspecs/common/gcc-base.conf + ./configure\ -silent \ -prefix /usr \ -confirm-license -opensource \ @@ -60,9 +63,11 @@ -no-reduce-relocations \ -no-phonon \ -no-phonon-backend \ + -no-rpath \ -graphicssystem raster \ -continue \ - 2>&1 | sed 's/such file or directory/file/' && + 2>&1 | grep -v 'wayland-client' | \ + sed 's/such file or directory/file/' && make $MAKEFLAGS && make INSTALL_ROOT=$DESTDIR install }