From 8ae53bf1393456a6b24364fdcc68ac2cef782094 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Mon, 19 Apr 2021 12:08:54 +0200 Subject: dev-scheme/guile-*: explain guile workarounds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Maciej Barć --- dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild | 9 +++++++++ dev-scheme/guile-colorized/guile-colorized-9999.ebuild | 9 +++++++++ dev-scheme/guile-gi/guile-gi-0.3.1.ebuild | 9 +++++++++ dev-scheme/guile-gi/guile-gi-9999.ebuild | 9 +++++++++ 4 files changed, 36 insertions(+) (limited to 'dev-scheme') diff --git a/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild index a3759bbcb..52232af54 100644 --- a/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild +++ b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild @@ -30,6 +30,15 @@ DOCS=( README.md ) src_prepare() { default + # guile is trying to avoid recompilation by checking if file + # /usr/lib64/guile/2.2/site-ccache/ + # is newer than + # + # In case it is instead of using guile + # loads system one (from potentially older version of package). + # To work it around we bump last modification timestamp of + # '*.scm' files. + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } diff --git a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild index a3759bbcb..52232af54 100644 --- a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild +++ b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild @@ -30,6 +30,15 @@ DOCS=( README.md ) src_prepare() { default + # guile is trying to avoid recompilation by checking if file + # /usr/lib64/guile/2.2/site-ccache/ + # is newer than + # + # In case it is instead of using guile + # loads system one (from potentially older version of package). + # To work it around we bump last modification timestamp of + # '*.scm' files. + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild index b3ddea965..0574aa727 100644 --- a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild +++ b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild @@ -34,6 +34,15 @@ QA_FLAGS_IGNORED=".*" src_prepare() { default + # guile is trying to avoid recompilation by checking if file + # /usr/lib64/guile/2.2/site-ccache/ + # is newer than + # + # In case it is instead of using guile + # loads system one (from potentially older version of package). + # To work it around we bump last modification timestamp of + # '*.scm' files. + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild index b3ddea965..0574aa727 100644 --- a/dev-scheme/guile-gi/guile-gi-9999.ebuild +++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild @@ -34,6 +34,15 @@ QA_FLAGS_IGNORED=".*" src_prepare() { default + # guile is trying to avoid recompilation by checking if file + # /usr/lib64/guile/2.2/site-ccache/ + # is newer than + # + # In case it is instead of using guile + # loads system one (from potentially older version of package). + # To work it around we bump last modification timestamp of + # '*.scm' files. + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } -- cgit v1.2.3-65-gdbad