File: use-system-lua.patch

package info (click to toggle)
freeciv 3.2.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 286,372 kB
  • sloc: ansic: 484,137; cpp: 37,716; sh: 10,365; makefile: 7,424; python: 2,938; xml: 643; sed: 11
file content (31 lines) | stat: -rw-r--r-- 1,097 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Remove dependencies/lua references from autoconf files
 configure would otherwise need the embedded lua to be present on make
 distclean time, breaking the build a the clean stage.
Author: Tobias Frost <tobi@debian.org>
Bug-Debian: https://bugs.debian.org/1013426
Forwarded: patch not ready to be forwarded. It should not remove the lines but have conditionals.
Last-Update: 2022-08-31 <YYYY-MM-DD, last update of the meta-information, optional>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -1857,8 +1857,6 @@
 	  data/icons/Makefile
 	  utility/Makefile
 	  dependencies/Makefile
-	  dependencies/lua-5.4/Makefile
-          dependencies/lua-5.4/src/Makefile
 	  dependencies/tolua-5.2/Makefile
 	  dependencies/tolua-5.2/src/Makefile
 	  dependencies/tolua-5.2/src/lib/Makefile
--- a/dependencies/Makefile.am
+++ b/dependencies/Makefile.am
@@ -12,7 +12,7 @@
 TINYCTHRDIR =
 endif
 
-SUBDIRS = $(LUASUBDIR) tolua-5.2 cvercmp $(TINYCTHRDIR)
+SUBDIRS = tolua-5.2 cvercmp $(TINYCTHRDIR)
 
 if FCDB_DB
 SUBDIRS += luasql