guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/122: gnu: r-s2: Update to 1.1.0.


From: guix-commits
Subject: 06/122: gnu: r-s2: Update to 1.1.0.
Date: Wed, 10 Aug 2022 07:51:46 -0400 (EDT)

rekado pushed a commit to branch wip-r
in repository guix.

commit 97edd163d113103b2141343e2448aeb9a3d86e9e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Aug 10 10:08:08 2022 +0200

    gnu: r-s2: Update to 1.1.0.
    
    * gnu/packages/cran.scm (r-s2): Update to 1.1.0.
    [arguments]: Add build phase to unbreak linking.
---
 gnu/packages/cran.scm | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3348e87096..8061fbfee6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17841,16 +17841,27 @@ high-performance functions are provided here.")
 (define-public r-s2
   (package
     (name "r-s2")
-    (version "1.0.7")
+    (version "1.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (cran-uri "s2" version))
        (sha256
         (base32
-         "0gwydn6wdl675ydkcckrci6ylcx30qn8nfhmrp4qx4r9mv3c2410"))))
+         "05n459rp5b1wk826sq3c5d2z1xwgkpfp8m1jnfshvs4gadlfkap3"))))
     (properties `((upstream-name . "s2")))
     (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      `(modify-phases %standard-phases
+         ;; We don't want to convert -lssl to -l:libssl.so.1.1; there is only
+         ;; one libssl.so anyway and the -l:* thing breaks linking.
+         (add-after 'unpack 'undo-library-versioning
+           (lambda _
+             (substitute* "configure"
+               (("PKG_LIBS_VERSIONED=.*")
+                "PKG_LIBS_VERSIONED=\"${PKG_LIBS}\"\n")))))))
     (propagated-inputs
      (list r-rcpp r-wk))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]