aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/0003-pkg-config-lua5.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-pkg-config-lua5.1.patch')
-rw-r--r--debian/patches/0003-pkg-config-lua5.1.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/debian/patches/0003-pkg-config-lua5.1.patch b/debian/patches/0003-pkg-config-lua5.1.patch
deleted file mode 100644
index 753ba78..0000000
--- a/debian/patches/0003-pkg-config-lua5.1.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1From: YAEGASHI Takeshi <yaegashi@debian.org>
2Date: Tue, 18 Feb 2014 07:24:45 +0900
3Subject: pkg-config lua5.1
4
5pkg-config must use lua5.1.pc provided by liblua5.1-dev.
6---
7 cgit.mk | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/cgit.mk b/cgit.mk
11index 056c3f9..32238d4 100644
12--- a/cgit.mk
13+++ b/cgit.mk
14@@ -31,8 +31,8 @@ ifdef NO_LUA
15 else
16 LUAJIT_CFLAGS := $(shell pkg-config --cflags luajit 2>/dev/null)
17 LUAJIT_LIBS := $(shell pkg-config --libs luajit 2>/dev/null)
18-LUA_LIBS := $(shell pkg-config --libs lua 2>/dev/null)
19-LUA_CFLAGS := $(shell pkg-config --cflags lua 2>/dev/null)
20+LUA_LIBS := $(shell pkg-config --libs lua5.1 2>/dev/null)
21+LUA_CFLAGS := $(shell pkg-config --cflags lua5.1 2>/dev/null)
22 ifeq (JIT,$(LUA_IMPLEMENTATION))
23 ifeq ($(strip $(LUAJIT_LIBS)),)
24 $(error LuaJIT specified via LUA_IMPLEMENTATION=JIT, but library could not be found.)