diff options
author | sibel <lesibel@free.fr> | 2010-12-26 11:49:53 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-26 11:49:53 +0100 |
commit | 8024bfeea26ac9ce5d7d2d0c4c36262677adbc62 (patch) | |
tree | addff3dd9594f2cbba212879f6855a1abd05512f /kde/kdebindings/Pkgfile | |
parent | 3c40af0682c4199dbe1bbe06aac25c404271cc1a (diff) | |
download | nutyx-pakxe-8024bfeea26ac9ce5d7d2d0c4c36262677adbc62.tar.gz nutyx-pakxe-8024bfeea26ac9ce5d7d2d0c4c36262677adbc62.tar.bz2 nutyx-pakxe-8024bfeea26ac9ce5d7d2d0c4c36262677adbc62.tar.xz nutyx-pakxe-8024bfeea26ac9ce5d7d2d0c4c36262677adbc62.zip |
kdebindings#1.4.5.4, maj port
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-x | kde/kdebindings/Pkgfile | 19 |
1 files changed, 12 insertions, 7 deletions
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 } |