Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] community/lua-hiredis

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Thu, 3 Aug 2017 15:21:20 +0200

On Mon, 31 Jul 2017 19:54:39 -0400
Nathan Angelacos <nangel_at_alpinelinux.org> wrote:

> APKBUILD: hiredis.so now loads correctly
> 0003-: spell compatibility correctly
> 0004-: add backward compatibility define for luaL_checkint for Lua 5.3+
> ---

...

> _at_@ -53,21 +57,16 @@ _split() {
> cd "$srcdir"/$pkgname-$_ver || return 1
> pkgdesc="$pkgdesc (Lua $_ver)"
> install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
> - ${CC:-gcc} ${CFLAGS} $(pkg-config --cflags hiredis) \
> - $(pkg-config --cflags lua$_ver) -shared -fPIC \
> + ${CC:-gcc} src/lua-hiredis.c ${CFLAGS} -shared -fPIC \
> + $(pkg-config --cflags hiredis lua$_ver) \
> + $(pkg-config --libs hiredis lua$_ver) \
> -I/usr/include/lua$_ver -I/usr/include/hiredis \
> - -lhiredis -o hiredis.so src/lua-hiredis.c \
> - || return 1
> + -o hiredis.so || return 1
I fixed a whitespace damage (space before EOL) and pushed.

Thanks!



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Aug 03 2017 - 15:21:20 GMT