From b38de4c0b7e39993030a2a5758aca73d25809440 Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Fri, 16 May 2008 19:45:20 +0200 Subject: [PATCH] qt4: remove X11R6 from pkg-config files --- qt4/Pkgfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt4/Pkgfile b/qt4/Pkgfile index 83fce4371..dbc0654a0 100644 --- a/qt4/Pkgfile +++ b/qt4/Pkgfile @@ -11,8 +11,8 @@ source=(ftp://ftp.trolltech.com/pub/qt/source/qt-x11-opensource-src-$version.tar build () { cd qt-x11-opensource-src-$version + sed -i 's|X11R6/||g' mkspecs/*/*.conf sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf - sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix sed -i "s|read acceptance|acceptance=yes|" configure sed -i "s|INSTALLS += translations||" projects.pro @@ -38,7 +38,6 @@ build () { rm -rf $PKG/usr/share/qt4/mkspecs/features/{mac,win32} rm -rf $PKG/usr/share/qt4/mkspecs/common/mac* rm -rf $PKG/usr/share/qt4/phrasebooks - sed -i 's|X11R6/||g' $PKG/usr/share/qt4/mkspecs/*/*.conf ln -s ../../include/qt4 $PKG/usr/share/qt4/include ln -s ../../lib $PKG/usr/share/qt4/lib