wok-next diff polkit/receipt @ rev 20683

Up pciids (20180517), usbids (20180504)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 18 15:15:42 2018 +0300 (2018-05-18)
parents 757d032c55c7
children f48456621a9d
line diff
     1.1 --- a/polkit/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.2 +++ b/polkit/receipt	Fri May 18 15:15:42 2018 +0300
     1.3 @@ -8,7 +8,6 @@
     1.4  LICENSE="LGPL2"
     1.5  WEB_SITE="https://www.freedesktop.org/wiki/Software/polkit/"
     1.6  LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/polkit.html"
     1.7 -CROSS="error: cannot check for file existence when cross compiling"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="http://www.freedesktop.org/software/polkit/releases/$TARBALL"
    1.11 @@ -18,6 +17,8 @@
    1.12  gobject-introspection-dev gtk-doc"
    1.13  SPLIT="polkit polkit-dev  polkit-pam:pam polkit-pam-dev:pam"
    1.14  
    1.15 +CROSS="error: cannot check for file existence when cross compiling"
    1.16 +
    1.17  compile_rules() {
    1.18  	if ! grep -q polkitd "/etc/passwd"; then
    1.19  		addgroup -g 27 polkitd
    1.20 @@ -34,7 +35,9 @@
    1.21  		--enable-libsystemd-login=no \
    1.22  		$SET_ARGS \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make install || return 1
    1.25 +	fix libtool &&
    1.26 +	make &&
    1.27 +	make install || return 1
    1.28  
    1.29  	case "$SET" in
    1.30  		pam) install -Dm644 $stuff/polkit-1 $install/etc/pam.d/polkit-1;;