Commit d97ed5b9 authored by Timo Teräs's avatar Timo Teräs

main/findutils: fix musl build

parent 7d89a322
......@@ -11,14 +11,22 @@ depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
fix-gnulib-freadahead.patch
"
_builddir="$srcdir"/findutils-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
......@@ -37,6 +45,14 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
return 0
}
md5sums="351cc4adb07d54877fa15f75fb77d39f findutils-4.4.2.tar.gz"
md5sums="351cc4adb07d54877fa15f75fb77d39f findutils-4.4.2.tar.gz
151400410daf15fa87944a9d51460918 fix-gnulib-freadahead.patch"
sha256sums="434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a findutils-4.4.2.tar.gz
1ed50d784a1c1a8603f47449e8fc3c95bd39ff827a8ec8fed0ecd07330fe8844 fix-gnulib-freadahead.patch"
sha512sums="262d0a8301158e6541b9f24e4e043d8d8c1b196b18dbe59c3bedcf17b50c95708e33ab23a07e3bfb947ad495faafffdca3c296fb525794ca60f2dfd682f228c1 findutils-4.4.2.tar.gz
8ed8a28ff35a30a8e07af17ca5dea1c3ad12d81bccb6dffe6727a6dd4d47943c401e26433e793ee0ea249a1a1fdd67ea8a8573f6914c636dbfb56dd5dce6884e fix-gnulib-freadahead.patch"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment