aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-23 13:08:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-23 13:09:08 +0000
commitf7c18a5931cc4e5fce64b34abc10b8d4449b93e4 (patch)
tree6a423a61c0e9e34097c8fbad5fdff550a92851a5 /main/lua-posix/APKBUILD
parent3569b406afa17de606403f4ba19f416208cd9b26 (diff)
downloadaports-f7c18a5931cc4e5fce64b34abc10b8d4449b93e4.tar.bz2
aports-f7c18a5931cc4e5fce64b34abc10b8d4449b93e4.tar.xz
main/lua-posix: add versioned dependency for bitlib
this helps when upgrading fixes #4063
Diffstat (limited to 'main/lua-posix/APKBUILD')
-rw-r--r--main/lua-posix/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 6ced6c8a0f..20bce5de7d 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -5,13 +5,13 @@ _luaversions="5.1 5.2 5.3"
pkgname=lua-posix
_name=luaposix
pkgver=33.3.1
-pkgrel=0
+pkgrel=1
pkgdesc="POSIX library for Lua $_luaver"
url="https://github.com/luaposix/luaposix"
arch="all"
license="MIT"
depends=""
-makedepends="perl ncurses-dev automake autoconf lua5.1-bitlib"
+makedepends="perl ncurses-dev automake autoconf"
subpackages="$pkgname-doc lua-curses:_curses"
for _i in $_luaversions; do
@@ -69,7 +69,9 @@ _split() {
depends=
local d= _ver=$1 _f=$2
if [ "$_ver" != "5.2" ]; then
- depends="lua$_ver-bitlib"
+ # use versioned dep to work around
+ # http://bugs.alpinelinux.org/issues/4063
+ depends="lua$_ver-bitlib<26"
fi
for d in usr/lib/lua usr/share/lua; do
if [ -d "$pkgdir"/$d/$_ver ]; then