SPECS: kde4-kdelibs.spec - fix 64bit build

shadzik shadzik at pld-linux.org
Sat Jun 14 15:58:28 CEST 2008


Author: shadzik                      Date: Sat Jun 14 13:58:28 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix 64bit build

---- Files affected:
SPECS:
   kde4-kdelibs.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: SPECS/kde4-kdelibs.spec
diff -u SPECS/kde4-kdelibs.spec:1.77 SPECS/kde4-kdelibs.spec:1.78
--- SPECS/kde4-kdelibs.spec:1.77	Fri Jun 13 13:03:54 2008
+++ SPECS/kde4-kdelibs.spec	Sat Jun 14 15:58:23 2008
@@ -25,6 +25,7 @@
 Source2:	x-icq.mimelnk
 Source3:	x-mplayer2.desktop
 Patch0:		%{orgname}4-findqt4.patch
+Patch0:		%{name}-lib64.patch
 URL:		http://www.kde.org/
 BuildRequires:	OpenEXR-devel >= 1.2.2
 BuildRequires:	Qt3Support-devel >= 4.4.0
@@ -238,6 +239,7 @@
 %prep
 %setup -q -n %{orgname}-%{version}
 %patch0 -p0
+%patch1 -p0
 
 %build
 export kde_htmldir=%{_kdedocdir}
@@ -257,7 +259,9 @@
 	-DMIME_INSTALL_DIR=/nogo \
 	-DTEMPLATES_INSTALL_DIR=%{_kde_share_dir}/templates \
 	-DHTML_INSTALL_DIR=%{_kde_html_dir} \
-	-DLIB_SUFFIX=$(lib=%{_lib}; echo ${lib#lib}) \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
 	-DKDE4_ENABLE_FINAL=OFF \
 	../
 
@@ -501,6 +505,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2008-06-14 13:58:23  shadzik
+- fix 64bit build
+
 Revision 1.77  2008-06-13 11:03:54  shadzik
 - killed -shared subpackage and moved it's insides to main package
 - re-added files conflicting with kde3 (we will solve it another way in kde3)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kde4-kdelibs.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list