From: Victor Martinez Date: Wed, 22 Sep 2021 19:53:55 +0000 (+0200) Subject: linux-pam: move pkgconfig files from /lib to /usr/lib X-Git-Url: http://gitweb/?a=commitdiff_plain;h=9e0c789864d204ab7fd0787981b8e08829026db6;p=ports%2Fcore-arm64.git linux-pam: move pkgconfig files from /lib to /usr/lib --- diff --git a/linux-pam/Pkgfile b/linux-pam/Pkgfile index 743ad86..20b3455 100644 --- a/linux-pam/Pkgfile +++ b/linux-pam/Pkgfile @@ -5,22 +5,26 @@ name=linux-pam version=1.5.2 -release=1 +release=2 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \ common-account common-auth common-password common-session \ other) build() { cd Linux-PAM-$version - CONFIG_SHELL=/bin/bash ./configure --prefix=/usr \ - --libdir=/lib \ - --disable-nis \ - --disable-nls \ - --disable-prelude \ - --enable-db=no + CONFIG_SHELL=/bin/bash ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --disable-nis \ + --disable-nls \ + --disable-prelude \ + --enable-db=no + make make DESTDIR=$PKG install + mv $PKG/lib/pkgconfig $PKG/usr/lib + # unix_chkpwd needs to be setuid root chmod u+s $PKG/sbin/unix_chkpwd @@ -29,5 +33,5 @@ build() { $SRC/{common-*,other} \ $PKG/etc/pam.d/ - rm -r $PKG/usr/{lib,share/doc} + rm -r $PKG/usr/{lib/systemd,share/doc} }