wok rev 19570

qt4: patch configure -no-rpath
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Dec 22 20:43:12 2016 +0100 (2016-12-22)
parents 1e7cef522d76
children e428345df29a
files qt4/receipt
line diff
     1.1 --- a/qt4/receipt	Thu Dec 22 18:29:37 2016 +0100
     1.2 +++ b/qt4/receipt	Thu Dec 22 20:43:12 2016 +0100
     1.3 @@ -24,12 +24,15 @@
     1.4  libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
     1.5  pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
     1.6  pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
     1.7 -xorg-libXv-dev sqlite-dev  wayland-dev libQtClucene " # ?
     1.8 +xorg-libXv-dev sqlite-dev" # wayland-dev libQtClucene
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -		./configure\
    1.14 +	# sed -i "s|-O2|${CXXFLAGS}|" mkspecs/common/{g++,gcc}-base.conf
    1.15 +	sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" mkspecs/common/gcc-base-unix.conf
    1.16 +	sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" mkspecs/common/gcc-base.conf
    1.17 +	./configure\
    1.18  		-silent \
    1.19  		-prefix /usr \
    1.20  		-confirm-license -opensource \
    1.21 @@ -60,9 +63,11 @@
    1.22  		-no-reduce-relocations \
    1.23  		-no-phonon \
    1.24  		-no-phonon-backend \
    1.25 +		-no-rpath \
    1.26  		-graphicssystem raster \
    1.27  		-continue \
    1.28 -		2>&1 | sed 's/such file or directory/file/' &&
    1.29 +		2>&1 | grep -v 'wayland-client' | \
    1.30 +		sed 's/such file or directory/file/' &&
    1.31  	make $MAKEFLAGS &&
    1.32  	make INSTALL_ROOT=$DESTDIR install
    1.33  }