mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libpam-policycache: rebuild for libxcrypt
This commit is contained in:
parent
dc0511c177
commit
8ed13901a8
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libpam-policycache'
|
# Template file for 'libpam-policycache'
|
||||||
pkgname=libpam-policycache
|
pkgname=libpam-policycache
|
||||||
version=0.11
|
version=0.11
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="autoconf automake libtool pkg-config"
|
hostmakedepends="autoconf automake libtool pkg-config"
|
||||||
makedepends="glib-devel libscrypt-devel pam-devel"
|
makedepends="glib-devel libscrypt-devel pam-devel"
|
||||||
|
@ -13,6 +13,10 @@ distfiles="https://github.com/google/libpam-policycache/archive/v$version.tar.gz
|
||||||
checksum=d1a074493d3a4076094a79093ec02c8fdd886069b9624d8b6765f7a1e840fae6
|
checksum=d1a074493d3a4076094a79093ec02c8fdd886069b9624d8b6765f7a1e840fae6
|
||||||
CFLAGS="-Wno-error=deprecated-declarations"
|
CFLAGS="-Wno-error=deprecated-declarations"
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||||
|
makedepends+=" libxcrypt-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
make_dirs="/etc/libpam-policycache.d 0755 root root
|
make_dirs="/etc/libpam-policycache.d 0755 root root
|
||||||
/var/cache/libpam-policycache 0700 root root"
|
/var/cache/libpam-policycache 0700 root root"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue