guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: Fix some gexps.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: Fix some gexps.
Date: Sun, 05 Sep 2021 08:02:07 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new c5bb7b5  gnu: Fix some gexps.
c5bb7b5 is described below

commit c5bb7b5d97b341c625c269b21e4958d61e7f40c9
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sun Sep 5 13:56:25 2021 +0200

    gnu: Fix some gexps.
    
    * gnu/packages/android.scm (adb, android-ext4-utils)[arguments]: Use
      'this-package-input' in gexps.
    * gnu/packages/finance.scm (monero-gui)[arguments]: Idem.
    * gnu/packages/lisp.scm (gcl)[arguments]: Idem.
---
 gnu/packages/android.scm | 32 ++++++++++++++++++--------------
 gnu/packages/finance.scm |  3 ++-
 gnu/packages/lisp.scm    |  6 +++---
 3 files changed, 23 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index e707471..cb3f491 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -362,10 +362,12 @@ various Android core host applications.")
     (arguments
      `(#:tests? #f ; Test failure: sysdeps_poll.fd_count
        #:make-flags
-       ,#~(list "CFLAGS=-Wno-error"
-                "CXXFLAGS=-fpermissive -Wno-error -std=gnu++14 -D_Nonnull= 
-D_Nullable= -I ."
-                (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib "
-                               "-Wl,-rpath=" #$openssl "/lib -L ."))
+       ,#~(list
+           "CFLAGS=-Wno-error"
+           "CXXFLAGS=-fpermissive -Wno-error -std=gnu++14 -D_Nonnull= 
-D_Nullable= -I ."
+           (string-append
+            "LDFLAGS=-Wl,-rpath=" #$output "/lib "
+            "-Wl,-rpath=" #$(this-package-input "openssl") "/lib -L ."))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'enter-source
@@ -532,16 +534,18 @@ the core SELinux management utilities.")
     (build-system android-ndk-build-system)
     (arguments
      `(#:make-flags
-       ,#~(list (string-append "CPPFLAGS="
-                               ;"-Wno-error "
-                               "-I " #$android-libselinux "/include "
-                               "-I " #$android-libsparse  "/include "
-                               "-I " #$android-libcutils  "/include "
-                               "-I " #$android-liblog "/include "
-                               "-I ../core/include")
-                "CFLAGS=-Wno-error"
-                "install-libext4_utils_host.a"
-                (string-append "prefix=" #$output))
+       ,#~(list
+           (string-append
+            "CPPFLAGS="
+            ;"-Wno-error "
+            "-I " #$(this-package-input "android-libselinux") "/include "
+            "-I " #$(this-package-input "android-libsparse")  "/include "
+            "-I " #$(this-package-input "android-libcutils")  "/include "
+            "-I " #$(this-package-input "android-liblog") "/include "
+            "-I ../core/include")
+           "CFLAGS=-Wno-error"
+           "install-libext4_utils_host.a"
+           (string-append "prefix=" #$output))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'unpack-core
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 28186fb..c351948 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -793,7 +793,8 @@ the Monero command line client and daemon.")
        #:configure-flags
        ,#~(list "-DARCH=default"
                 "-DENABLE_PASS_STRENGTH_METER=ON"
-                (string-append "-DReadline_ROOT_DIR=" #$readline))
+                (string-append "-DReadline_ROOT_DIR="
+                               #$(this-package-input "readline")))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'extract-monero-sources
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index bafe136..f0c30ba 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -150,15 +150,15 @@ Definition Facility.")
          #:configure-flags ,#~(list
                                "--enable-ansi" ; required by the maxima package
                                (string-append "CFLAGS=-I"
-                                              #$libtirpc
+                                              #$(this-package-input "libtirpc")
                                               "/include/tirpc")
                                (string-append "LDFLAGS=-L"
-                                              #$libtirpc
+                                              #$(this-package-input "libtirpc")
                                               "/lib")
                                "LIBS=-ltirpc")
          #:make-flags ,#~(list
                           (string-append "GCL_CC=" #$gcc "/bin/gcc")
-                          (string-append "CC=" #$gcc "/bin/gcc"))
+                          (string-append "CC="#$gcc "/bin/gcc"))
          #:phases
          (modify-phases %standard-phases
            (add-after 'unpack 'realpath-workaround



reply via email to

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