libcap: fixed for x86_64.
--HG-- extra : convert_revision : 5532a12968ae70f26752cb890335bad61de87b41
This commit is contained in:
parent
ed5a7e5a1c
commit
224a521645
1 changed files with 11 additions and 3 deletions
|
@ -22,10 +22,18 @@ pre_build()
|
||||||
${wrksrc}/Make.Rules
|
${wrksrc}/Make.Rules
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_install()
|
||||||
|
{
|
||||||
|
if [ "$xbps_machine" = "x86_64" ]; then
|
||||||
|
mkdir -vp ${DESTDIR}/usr/lib
|
||||||
|
cd ${DESTDIR}/usr && ln -sv lib lib64 && cd ${wrksrc}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
install -D -m644 ${wrksrc}/pam_cap/capability.conf \
|
install -D -m644 ${wrksrc}/pam_cap/capability.conf \
|
||||||
${DESTDIR}/etc/security/capability.conf
|
${DESTDIR}/etc/security/capability.conf || return 1
|
||||||
mkdir -p ${DESTDIR}/lib
|
mkdir -p ${DESTDIR}/lib || return 1
|
||||||
mv ${DESTDIR}/usr/lib/security ${DESTDIR}/lib
|
mv ${DESTDIR}/usr/lib/security ${DESTDIR}/lib || return 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue