Bug 10957 - missed -DLIB_SUFFIX for cmake on x86_64
: missed -DLIB_SUFFIX for cmake on x86_64
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/kdesvn)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-02-28 15:28 by
Modified: 2007-04-09 14:11 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-02-28 15:28:58
without -DLIB_SUFFIX=64, kdesvn can not be packaged successfully on x86_64. To 
fix this, one can use:

--- kdesvn.spec.orig    2006-12-17 16:19:25 +0300
+++ kdesvn.spec 2007-02-28 15:20:32 +0300
@@ -71,6 +71,9 @@ mkdir build
 cd build
 cmake ../ \
         -DCMAKE_INSTALL_PREFIX=`kde-config --prefix` \
+%ifarch x86_64
+       -DLIB_SUFFIX=64 \
+%endif
        -DCMAKE_SKIP_RPATH=YES

 %build

Steps to Reproduce:
rpmbuild -ba path/to/kdesvn.spec
------- Comment #1 From 2007-03-19 19:44:06 -------
0.11.1-alt1