summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/gcompat/APKBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/user/gcompat/APKBUILD b/user/gcompat/APKBUILD
index f5cde0815..e6b142f84 100644
--- a/user/gcompat/APKBUILD
+++ b/user/gcompat/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gcompat
-pkgver=0.3.0
+pkgver=0.4.0
pkgrel=0
pkgdesc="The GNU C Library compatibility layer for musl"
url="https://code.foxkit.us/adelie/gcompat"
@@ -8,11 +8,9 @@ arch="all"
options="!check" # No test suite.
license="UoI-NCSA"
depends=""
-makedepends="libucontext-dev"
+makedepends="libucontext-dev utmps-dev"
replaces="libc6-compat"
-source="https://distfiles.adelielinux.org/source/gcompat/$pkgname-$pkgver.tar.xz
- no-utmp.patch
- "
+source="https://distfiles.adelielinux.org/source/gcompat/$pkgname-$pkgver.tar.xz"
_link_arch=$CARCH
case "$CARCH" in
@@ -23,8 +21,7 @@ x86) _ld="ld-linux.so.2" ;;
pmmx) _ld="ld-linux.so.2" _link_arch=i386;;
x86_64) _ld="ld-linux-x86-64.so.2" ;;
mips* | ppc | s390*) _ld="ld.so.1" ;;
-ppc64le) _ld="ld64.so.2" ;;
-ppc64) _ld="ld64.so.1" ;;
+ppc64*) _ld="ld64.so.2" ;;
esac
build() {
@@ -37,5 +34,4 @@ package() {
make LINKER_PATH="/lib/ld-musl-${_link_arch}.so.1" LOADER_NAME="$_ld" WITH_LIBUCONTEXT=YesPlease DESTDIR="$pkgdir" install
}
-sha512sums="1f7dd73efd556b7e0f7f1c80751185583de24daf4ab235b488ea1ab98cea2d3a94abed341b922be0bd43c8d539a00176b892c78acf09f2adacb279c09648b3be gcompat-0.3.0.tar.xz
-34fbf97cfbad2bae219e238f5edcb55425c6d7c9be7dde02aa0e8223dbf163ff20f535539de2232a1ef3c6f47a92eac6e00484af99dc8beb192c761b15389b82 no-utmp.patch"
+sha512sums="32b4038a031b9af2d5febb547fe9268eb829f40bb2437c94afe5b939e06e7337448ad7f2dce34362829d19672ede54eec8fc34dc755736dbc76f347906ba5ead gcompat-0.4.0.tar.xz"