aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/prolog.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/prolog.scm b/gnu/packages/prolog.scm
index b5cc796086..f987cf3d02 100644
--- a/gnu/packages/prolog.scm
+++ b/gnu/packages/prolog.scm
@@ -212,6 +212,11 @@ it.")
#~(modify-phases %standard-phases
;; Upstream does not use a configure script.
(delete 'configure)
+ (add-before 'build 'patch-package-version
+ (lambda _
+ (substitute* "Makefile"
+ (("\\$\\(shell git describe --abbrev=4 --dirty --always --tags\\)")
+ (string-append "v" #$version)))))
(replace 'install
;; Upstream does not provide an install target.
(lambda _