sys-libs/pam: use PATCHES for third-party patches

We should use PATCHES for the list of third-party patches, especially
for EAPI=7.
This commit is contained in:
Dongsu Park 2020-12-07 17:08:09 +01:00
parent 5515bbfefb
commit 57e725117f

View File

@ -43,12 +43,15 @@ RDEPEND="${DEPEND}"
PDEPEND=">=sys-auth/pambase-20200616"
PATCHES=(
"${FILESDIR}"/pam-1.5.0-locked-accounts.patch
)
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
touch ChangeLog || die
epatch "${FILESDIR}"/pam-1.5.0-locked-accounts.patch
eautoreconf
}