Bug 10957 - missed -DLIB_SUFFIX for cmake on x86_64
Summary: missed -DLIB_SUFFIX for cmake on x86_64
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: kdesvn (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 15:28 MSK by Peter V. Saveliev
Modified: 2007-04-09 14:11 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter V. Saveliev 2007-02-28 15:28:58 MSK
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 Andrey Rahmatullin 2007-03-19 19:44:06 MSK
0.11.1-alt1