diff mbox series

[bug#51624] gnu: rcs: Install rcsfreeze.

Message ID SG2PR01MB2160FCDEF104CDD28CF8C5658D8F9@SG2PR01MB2160.apcprd01.prod.exchangelabs.com
State New
Headers show
Series [bug#51624] gnu: rcs: Install rcsfreeze. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Foo Chuan Wei Nov. 6, 2021, 5:45 a.m. UTC
* gnu/packages/version-control.scm (rcs): Install rcsfreeze.
---
 gnu/packages/version-control.scm | 8 ++++++++
 1 file changed, 8 insertions(+)


base-commit: 4fd12fb00d595b6f6a5d5cc734863f4c4bc5f46c

Comments

Ludovic Courtès Nov. 17, 2021, 5:17 p.m. UTC | #1
Hi,

Foo Chuan Wei <chuanwei.foo@hotmail.com> skribis:

> * gnu/packages/version-control.scm (rcs): Install rcsfreeze.

Applied, thanks!

Ludo’.
diff mbox series

Patch

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 064212db9f..d076cdb309 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2011,6 +2011,14 @@  projects, from individuals to large-scale enterprise operations.")
                "1if5pa4iip2p70gljm54nggfdnsfjxa4cqz8fpj07lvsijary39s"))
              (patches (search-patches "rcs-5.10.0-no-stdin.patch"))))
     (build-system gnu-build-system)
+    (arguments `(#:phases
+                 (modify-phases %standard-phases
+                   (add-after 'install 'install-rcsfreeze
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (chmod "src/rcsfreeze" #o755)
+                       (install-file
+                         "src/rcsfreeze"
+                         (string-append (assoc-ref outputs "out") "/bin")))))))
     (native-inputs `(("ed" ,ed)))
     (home-page "https://www.gnu.org/software/rcs/")
     (synopsis "Per-file local revision control system")