From 8024bfeea26ac9ce5d7d2d0c4c36262677adbc62 Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 26 Dec 2010 11:49:53 +0100 Subject: kdebindings#1.4.5.4, maj port --- kde/kdebindings/Pkgfile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'kde/kdebindings/Pkgfile') diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile index db1c34f1e..def28513e 100755 --- a/kde/kdebindings/Pkgfile +++ b/kde/kdebindings/Pkgfile @@ -6,22 +6,27 @@ name=kdebindings version=4.5.4 -release=2 +release=1 source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 http://nutyx.meticul.eu/files/patchs/$name/fix-pyqt4-build.patch ) build() { - unset MAKEFLAGS - cd $name-$version + if [ "`uname -m`" == "x86_64" ]; then export CFLAGS="$CFLAGS+'-fPIC'" + fi + cd $name-$version patch -Np0 -i ../fix-pyqt4-build.patch - mkdir build cd build - cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release - make + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_falcon=OFF \ + -DBUILD_java=OFF \ + -DBUILD_perl=OFF \ + -DBUILD_php=OFF \ + -DWITH_PolkitQt=OFF + make DESTDIR=$PKG install } -- cgit v1.2.3-70-g09d2