summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-23 11:26:19 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-23 11:26:19 -0500
commit5786cd457f51cdcbfa7ace0742bdb603498edc39 (patch)
tree60382029b0eec1a7917a42aafcd74076cf341f64 /sys-libs/pam
parentnet-libs/nghttp2: version bump to 1.6.0 (diff)
downloadgentoo-5786cd457f51cdcbfa7ace0742bdb603498edc39.tar.gz
gentoo-5786cd457f51cdcbfa7ace0742bdb603498edc39.tar.bz2
gentoo-5786cd457f51cdcbfa7ace0742bdb603498edc39.zip
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.
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/pam-1.2.1-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/pam/pam-1.2.1-r1.ebuild b/sys-libs/pam/pam-1.2.1-r1.ebuild
index 05f18510c79b..a3e541d0f480 100644
--- a/sys-libs/pam/pam-1.2.1-r1.ebuild
+++ b/sys-libs/pam/pam-1.2.1-r1.ebuild
@@ -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
}