OSDN Git Service

add x86-64 support
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Thu, 15 Sep 2005 14:21:38 +0000 (14:21 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Thu, 15 Sep 2005 14:21:38 +0000 (14:21 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@1752 56b19765-1e22-0410-a548-a0f45d66c51a

ChangeLog
kita.spec

index 6a6076c..4a5bd0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-15  Hideki Ikemoto  <ikemo@users.sourceforge.jp>
+
+       * kita.spec: add x86-64 support.
+       thanks to 211-san.
+
 2005-01-01  Hideki Ikemoto  <ikemo@users.sourceforge.jp>
 
        * version 0.174.0 released.
index dce6509..f75189b 100644 (file)
--- a/kita.spec
+++ b/kita.spec
@@ -7,6 +7,8 @@
 %define _prefix /opt/kde3
 %endif
 
+%define is_x86_64 %(if [ "x86_64" == `uname -m` ]; then echo "yes";fi)
+
 Summary: 2ch client for KDE
 Name: kita
 Version: %{version}
@@ -29,6 +31,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 %build
 ./configure --prefix=%{_prefix} \
+%if %{is_x86_64} == "yes"
+ --enable-libsuffix=64 \
+ %if %{is_suse} == "yes"
+ --with-qt-libraries=/usr/lib64/qt-3.3/lib64 \
+ %else
+ --with-qt-libraries=/usr/lib64/qt-3.3/lib \
+ %endif
+%endif
 %if %{use_xdg_menu}
   --enable-xdg-menu
 %endif