diff options
Diffstat (limited to 'debian/patches/0003-pkg-config-lua5.1.patch')
-rw-r--r-- | debian/patches/0003-pkg-config-lua5.1.patch | 24 |
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 @@ | |||
1 | From: YAEGASHI Takeshi <yaegashi@debian.org> | ||
2 | Date: Tue, 18 Feb 2014 07:24:45 +0900 | ||
3 | Subject: pkg-config lua5.1 | ||
4 | |||
5 | pkg-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 | |||
10 | diff --git a/cgit.mk b/cgit.mk | ||
11 | index 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.) | ||