aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-10 05:46:12 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-10 05:46:12 +0000
commit394715c229fb75604f813c39f24430159023a31c (patch)
treefee21459727ea85bfb7a2c999d26a47747b415a9 /main/lua-posix/APKBUILD
parente85b4e9ec001bd6a30ed3812b65e99c475e56365 (diff)
downloadaports-394715c229fb75604f813c39f24430159023a31c.tar.bz2
aports-394715c229fb75604f813c39f24430159023a31c.tar.xz
main/lua-posix: fix musl build
fix lua-version.patch to have proper escape for dot, and use the patch. need to also autoregen configury for it to take affect.
Diffstat (limited to 'main/lua-posix/APKBUILD')
-rw-r--r--main/lua-posix/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 7443ba4bbb..8cc4668678 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -19,7 +19,9 @@ for _i in $_luaversions; do
subpackages="$subpackages lua$_i-posix:_posix_${_i/./_}
lua$_i-curses:_curses_${_i/./_}"
done
-source="luaposix-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/release-v$pkgver.tar.gz"
+source="luaposix-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/release-v$pkgver.tar.gz
+ lua-version.patch
+ "
@@ -32,6 +34,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ aclocal && autoconf && automake --add-missing || return 1
for _i in $_luaversions; do
cp -r "$_sdir" "$srcdir"/build-$_i
done
@@ -89,6 +92,9 @@ for _i in $_luaversions; do
eval "_posix_${_i/./_}() { _split_posix $_i; }"
done
-md5sums="a25ff76d54bbbebf7a1f3b20c9806ee3 luaposix-31.tar.gz"
-sha256sums="c5ed2f6c16b9f31d3ca0db05f9b660db69c966baab244878480ab6658abbbe24 luaposix-31.tar.gz"
-sha512sums="263d0ffdb4043199a37bccc2f74419e72d6d812f74104fae6bd979a13217ab58275c6d6e21a0aaa4232851fa29941eececa22bc441fb37bebbdc2842b1c37c3f luaposix-31.tar.gz"
+md5sums="a25ff76d54bbbebf7a1f3b20c9806ee3 luaposix-31.tar.gz
+30da8a857ac8026b6cf6932decdccc61 lua-version.patch"
+sha256sums="c5ed2f6c16b9f31d3ca0db05f9b660db69c966baab244878480ab6658abbbe24 luaposix-31.tar.gz
+68a3e67e61b853927a4113a3603d528afe97999fae3bc37b9669e1045ddce299 lua-version.patch"
+sha512sums="263d0ffdb4043199a37bccc2f74419e72d6d812f74104fae6bd979a13217ab58275c6d6e21a0aaa4232851fa29941eececa22bc441fb37bebbdc2842b1c37c3f luaposix-31.tar.gz
+7cde55168dd183ea9a922c2ddfee78a0d43dcc5fa313725c1718693d327fcdc682bb692b4d3a9968322ce53f1dba42990a5b7b150a6d892fcc3f887538a4dea5 lua-version.patch"