SPECS: freeciv.spec - added -ggz.patch (fixes build when ggz-serve...

megabajt megabajt at pld-linux.org
Fri Apr 11 19:36:34 CEST 2008


Author: megabajt                     Date: Fri Apr 11 17:36:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -ggz.patch (fixes build when ggz-server package is not installed)

---- Files affected:
SPECS:
   freeciv.spec (1.111 -> 1.112) 

---- Diffs:

================================================================
Index: SPECS/freeciv.spec
diff -u SPECS/freeciv.spec:1.111 SPECS/freeciv.spec:1.112
--- SPECS/freeciv.spec:1.111	Fri Apr 11 18:33:40 2008
+++ SPECS/freeciv.spec	Fri Apr 11 19:36:29 2008
@@ -25,6 +25,7 @@
 # Source2-md5:	c9f061fca82aa50a19fbbc89c06ff81d
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-desktop.patch
+Patch2:		%{name}-ggz.patch
 URL:		http://www.freeciv.org/
 BuildRequires:	SDL_mixer-devel
 BuildRequires:	autoconf >= 2.52
@@ -89,16 +90,19 @@
 %setup -q -a1 -a2
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
-%{__aclocal}
+rm acinclude.m4
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
-%{?with_gtk:	--enable-client=gtk}
-%{!?with_ggz_client:	--without-ggz-client}
-%{!?with_ggz_server:	--without-ggz-server}
+	--with-ggzd-confdir=%{_sysconfdir}/ggzd \
+	%{?with_gtk:	--enable-client=gtk} \
+	%{!?with_ggz_client:	--without-ggz-client} \
+	%{!?with_ggz_server:	--without-ggz-server}
 
 %{__make}
 
@@ -165,6 +169,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.112  2008-04-11 17:36:29  megabajt
+- added -ggz.patch (fixes build when ggz-server package is not installed)
+
 Revision 1.111  2008-04-11 16:33:40  lisu
 - freeciv-server for freeciv-client just suggested
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freeciv.spec?r1=1.111&r2=1.112&f=u



More information about the pld-cvs-commit mailing list