keyutils: unbreak musl
This commit is contained in:
parent
e0aebc12f7
commit
469d79e12c
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'keyutils'
|
||||
pkgname=keyutils
|
||||
version=1.5.9
|
||||
revision=3
|
||||
revision=4
|
||||
conf_files="/etc/request-key.conf"
|
||||
short_desc="Linux Key Management Utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -10,6 +10,11 @@ license="GPL-2, LGPL-2.1"
|
|||
distfiles="http://people.redhat.com/~dhowells/$pkgname/$pkgname-$version.tar.bz2"
|
||||
checksum=4da2c5552c688b65ab14d4fd40fbdf720c8b396d8ece643e040cf6e707e083ae
|
||||
|
||||
pre_build() {
|
||||
# Fix musl build - doesn't hurt glibc either
|
||||
sed -e "/#include <stdlib.h>/a #include <limits.h>" \
|
||||
-i key.dns_resolver.c
|
||||
}
|
||||
do_build() {
|
||||
make CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' \
|
||||
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' \
|
||||
|
|
Loading…
Reference in New Issue