mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 16:47:00 +02:00
quota: update to 4.06.
This commit is contained in:
parent
6b2e1add4f
commit
c8f31fce4e
1 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'quota'
|
||||
pkgname=quota
|
||||
version=4.05
|
||||
version=4.06
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
make_build_args="V=1"
|
||||
|
@ -12,11 +12,12 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="GPL-2"
|
||||
homepage="https://sourceforge.net/projects/linuxquota/"
|
||||
distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz"
|
||||
checksum=ef3b5b5d1014ed1344b46c1826145e20cbef8db967b522403c9a060761cf7ab9
|
||||
checksum=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/CFLAGS="/CFLAGS+=" /' configure
|
||||
}
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
# Only used in places where overflow is not possible.
|
||||
*-musl) CFLAGS+=' -Dreallocarray\(o,n,s\)=realloc\(o,n*s\)';;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/include/rpcsvc ${DESTDIR}/usr/share/doc/quota
|
||||
|
|
Loading…
Add table
Reference in a new issue