sys-libs/pam: avoid regenerating docs #569338

Since we're using the old doc tarball, the timestamps are older than
the new source tarball, so the code tries to rebuild everything.
This commit is contained in:
Mike Frysinger
2015-12-23 11:26:19 -05:00
parent 0399f2f1ef
commit 5786cd457f

View File

@@ -88,6 +88,8 @@ pkg_pretend() {
src_unpack() {
# Upstream didn't release a new doc tarball (since nothing changed?).
unpack ${MY_PN}-1.2.0-docs.tar.bz2
# Update timestamps to avoid regenerating at build time. #569338
find -type f -exec touch -r "${T}" {} + || die
mv Linux-PAM-1.2.{0,1} || die
unpack ${MY_P}.tar.bz2
}