[packages/freeciv] added 'system_lua' bcond

sls sls at pld-linux.org
Wed Jan 7 18:17:22 CET 2015


commit 60163dd9a516838ebc9edeb15d564b4cfdc38a4a
Author: Szymon Siwek <sls at pld-linux.org>
Date:   Wed Jan 7 18:14:05 2015 +0100

    added 'system_lua' bcond

 freeciv.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/freeciv.spec b/freeciv.spec
index a19eb48..3cab512 100644
--- a/freeciv.spec
+++ b/freeciv.spec
@@ -10,6 +10,7 @@
 %bcond_without  ggz_client	# build without ggz client
 %bcond_without  ggz_server	# build without ggz server
 %bcond_without  magickwand	# build without MagickWand map image toolkit support
+%bcond_without  system_lua	# build with system lua
 #
 Summary:	FREE CIVilization clone
 Summary(es.UTF-8):	Clon del juego Civilization
@@ -41,6 +42,7 @@ BuildRequires:	gtk+3-devel
 BuildRequires:	libggz-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libtool
+%{?with_system_lua:BuildRequires:	lua51-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	readline-devel
 BuildRequires:	xorg-lib-libXaw-devel
@@ -110,6 +112,7 @@ Ten pakiet zawiera server gry Freeciv.
 	--disable-silent-rules \
 	--enable-client=gtk2,gtk3,sdl,xaw,stub \
 	--enable-mapimg=%{?with_magickwand:magickwand}%{!?with_magickwand:no} \
+	%{?with_system_lua:--enable-sys-lua} \
 	%{!?with_ggz_client:--without-ggz-client} \
 	%{!?with_ggz_server:--without-ggz-server}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freeciv.git/commitdiff/60163dd9a516838ebc9edeb15d564b4cfdc38a4a



More information about the pld-cvs-commit mailing list