1 |
commit: 5786cd457f51cdcbfa7ace0742bdb603498edc39 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 23 16:26:19 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 23 16:26:19 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5786cd45 |
7 |
|
8 |
sys-libs/pam: avoid regenerating docs #569338 |
9 |
|
10 |
Since we're using the old doc tarball, the timestamps are older than |
11 |
the new source tarball, so the code tries to rebuild everything. |
12 |
|
13 |
sys-libs/pam/pam-1.2.1-r1.ebuild | 2 ++ |
14 |
1 file changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/pam/pam-1.2.1-r1.ebuild b/sys-libs/pam/pam-1.2.1-r1.ebuild |
17 |
index 05f1851..a3e541d 100644 |
18 |
--- a/sys-libs/pam/pam-1.2.1-r1.ebuild |
19 |
+++ b/sys-libs/pam/pam-1.2.1-r1.ebuild |
20 |
@@ -88,6 +88,8 @@ pkg_pretend() { |
21 |
src_unpack() { |
22 |
# Upstream didn't release a new doc tarball (since nothing changed?). |
23 |
unpack ${MY_PN}-1.2.0-docs.tar.bz2 |
24 |
+ # Update timestamps to avoid regenerating at build time. #569338 |
25 |
+ find -type f -exec touch -r "${T}" {} + || die |
26 |
mv Linux-PAM-1.2.{0,1} || die |
27 |
unpack ${MY_P}.tar.bz2 |
28 |
} |