]> git.pld-linux.org Git - packages/freeciv.git/commitdiff
- added -ggz.patch (fixes build when ggz-server package is not installed)
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 11 Apr 2008 17:36:29 +0000 (17:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freeciv.spec -> 1.112

freeciv.spec

index 30ec2b709f2e03a2f59c909626d7b544771745e0..c764e7ed6197f3cff34da17bd605635a4d8be880 100644 (file)
@@ -24,6 +24,7 @@ Source2:      ftp://ftp.freeciv.org/pub/freeciv/contrib/tilesets/freeland/freeland-no
 # 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
@@ -88,16 +89,19 @@ Ten pakiet zawiera server gry Freeciv.
 %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}
 
This page took 0.098548 seconds and 4 git commands to generate.