From 3c2b28a3f1ff8568d0bcd163f8d2c9c192e7c3cb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 10 Oct 2013 12:25:18 +0000 Subject: main/lua-posix: the 5.1 version needs lua-bitlib fixes #2278 --- main/lua-posix/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main/lua-posix') diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD index 8cc4668678..3589247265 100644 --- a/main/lua-posix/APKBUILD +++ b/main/lua-posix/APKBUILD @@ -5,7 +5,7 @@ _luaversions="5.1 5.2" pkgname=lua-posix _name=luaposix pkgver=31 -pkgrel=0 +pkgrel=1 pkgdesc="POSIX library for Lua $_luaver" url="https://github.com/luaposix/luaposix" arch="all" @@ -64,6 +64,9 @@ package() { _split() { depends= local d= _ver=$1 _f=$2 + if [ "$_ver" = "5.1" ]; then + depends="lua-bitlib" + fi for d in usr/lib/lua usr/share/lua; do if [ -d "$pkgdir"/$d/$_ver ]; then mkdir -p "$subpkgdir"/$d/$_ver -- cgit v1.2.3