mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/attr: fix build with busybox gzip
we want reduce number of dependencies to make it easier to bootstrap
This commit is contained in:
parent
15ff5efa58
commit
a4bb590c51
@ -1,17 +1,18 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=attr
|
||||
pkgver=2.4.47
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Utilities for managing filesystem extended attributes"
|
||||
url="https://savannah.nongnu.org/projects/attr"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later LGPL-2.0-or-later"
|
||||
depends=""
|
||||
makedepends="libtool autoconf automake bash gzip"
|
||||
makedepends="libtool autoconf automake bash"
|
||||
subpackages="$pkgname-dev $pkgname-doc libattr"
|
||||
source="http://download.savannah.nongnu.org/releases/attr/attr-$pkgver.src.tar.gz
|
||||
fix-decls.patch
|
||||
fix-throw.patch
|
||||
busybox-gzip.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
@ -67,4 +68,5 @@ libattr() {
|
||||
|
||||
sha512sums="2a333f63655758298650cf8f89c175efdc0112dcc4013e8d023e2a9a69f177e4bcb1f1d10b6666d6f2027dca4dec0833d54749952ab153d28367e1a72e6e2831 attr-2.4.47.src.tar.gz
|
||||
fa7925f63c611e39b28adbf8fa3838bd91c245e4694957c1a8e212cb8f289eb62e04f50806227f6c1947d432ddf7633a471c13dd08d513d1e2b8a9ac1906cb33 fix-decls.patch
|
||||
d758b864bac9bdbc3360df2e7a3bc7d04e06789975cf539b8e2b98b1d874744b55c80f0502e283f7233d6ec41f8a39624fe07b512a7fdc6af8d19dd3af5f9f5a fix-throw.patch"
|
||||
d758b864bac9bdbc3360df2e7a3bc7d04e06789975cf539b8e2b98b1d874744b55c80f0502e283f7233d6ec41f8a39624fe07b512a7fdc6af8d19dd3af5f9f5a fix-throw.patch
|
||||
c04f3f38eafaa1afbafdf99751cdf1770e81182ebdc20f3cbea81d44638f7100c5c9963c42342c618286f25c435a82fcbcd3dea635725042edd36c6a3a02960c busybox-gzip.patch"
|
||||
|
26
main/attr/busybox-gzip.patch
Normal file
26
main/attr/busybox-gzip.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/doc/Makefile b/doc/Makefile
|
||||
index c10ced6..524b5a2 100644
|
||||
--- a/doc/Makefile
|
||||
+++ b/doc/Makefile
|
||||
@@ -28,7 +28,7 @@ default: $(SUBDIRS) CHANGES.gz
|
||||
include $(BUILDRULES)
|
||||
|
||||
CHANGES.gz:
|
||||
- $(ZIP) --best -c < CHANGES > $@
|
||||
+ $(ZIP) -c < CHANGES > $@
|
||||
|
||||
install: default
|
||||
$(SUBDIRS_MAKERULE)
|
||||
diff --git a/include/buildmacros b/include/buildmacros
|
||||
index 9e81bb8..b33e148 100644
|
||||
--- a/include/buildmacros
|
||||
+++ b/include/buildmacros
|
||||
@@ -139,7 +139,7 @@ endif
|
||||
MAN_MAKERULE = \
|
||||
@for f in *.[12345678] ""; do \
|
||||
if test ! -z "$$f"; then \
|
||||
- $(ZIP) --best -c < $$f > $$f.gz; \
|
||||
+ $(ZIP) -c < $$f > $$f.gz; \
|
||||
fi; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user