summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gibbons <jgibbons2357+guix@gmail.com>2020-07-03 16:54:21 -0600
committerGuix Patches Tester <>2020-07-28 23:58:09 +0100
commit96f2ef30e3987dcc40d17f3db0babafe9ce7b96a (patch)
tree99089b994b6ece7a2d532befc2c77e75d919ce66
parent748ab8b3642a339919ce0bba6cdbc2423a95e029 (diff)
downloadguix-patches-96f2ef30e3987dcc40d17f3db0babafe9ce7b96a.tar
guix-patches-96f2ef30e3987dcc40d17f3db0babafe9ce7b96a.tar.gz
gnu: freedink-engine: Call autoreconf.
* gnu/packages/games.scm: freedink-engine (phases): add 'autoreconf
-rw-r--r--gnu/packages/games.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 26c2c7d231..39a40c09af 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2744,7 +2744,16 @@ interface or via an external visual interface such as GNU XBoard.")
;; These tests require a graphical interface.
(substitute* "src/Makefile.am"
(("test_gfx_fonts TestIOGfxDisplay") ""))
- #t)))))
+ #t))
+ (add-before 'bootstrap 'autoreconf
+ (lambda _
+ ;; automake is out of date in the source
+ ;; autoreconf updates the automake scripts
+ (invoke "autoreconf")
+ ;; Build fails when autom4te.cache exists.
+ (delete-file-recursively "autom4te.cache")
+ #t))
+ )))
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)
("cxxtest" ,cxxtest)