summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-09-05 03:03:36 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-09-05 03:42:23 +0200
commit45066bc9ff55bfaafaccd8d19afdf2acb5765e96 (patch)
tree118377bf57d03c31f2e6bd5021d9063fcd25d822
parent7022a169bc321170d6c015f0fa89e33c89558eb2 (diff)
downloadguix-45066bc9ff55bfaafaccd8d19afdf2acb5765e96.tar.gz
gnu: ne: Update to 3.3.1.
* gnu/packages/text-editors.scm (ne): Update to 3.3.1.
[arguments]: Add a 'patch-early-shebang phase.
Don't return #t from other phases.
-rw-r--r--gnu/packages/text-editors.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 79d2ec4f68..3f427d0931 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1083,7 +1083,7 @@ card.  It offers:
 (define-public ne
   (package
     (name "ne")
-    (version "3.3.0")
+    (version "3.3.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1092,7 +1092,7 @@ card.  It offers:
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "01aglnsfljlvx0wvyvpjfn4y88jf450a06qnj9a8lgdqv1hdkq1a"))))
+                "0sg2f6lxq6cjkpd3dvlxxns82hvq826rjnams5in97pssmknr77g"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("perl" ,perl)
@@ -1108,11 +1108,14 @@ card.  It offers:
                             "/lib"))
        #:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'patch-early-shebang
+           (lambda _
+             (substitute* "version.pl"
+               (("/usr/bin/env .*perl") (which "perl")))))
          (replace 'configure
            (lambda _
              (substitute* "src/makefile"
-              (("-lcurses") "-lncurses"))
-             #t)))))
+              (("-lcurses") "-lncurses")))))))
     (home-page "https://ne.di.unimi.it/")
     (synopsis "Text editor with menu bar")
     (description "This package provides a modeless text editor with menu bar.