guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: curl: Remove unnecessary reference to the "doc" output.


From: guix-commits
Subject: 05/09: gnu: curl: Remove unnecessary reference to the "doc" output.
Date: Wed, 22 Jan 2020 16:14:51 -0500 (EST)

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

commit f5fa1a77c76376d2cfe5af13578bb74b2f2a67af
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Jan 22 21:11:24 2020 +0100

    gnu: curl: Remove unnecessary reference to the "doc" output.
    
    * gnu/packages/curl.scm (curl)[arguments]: Add #:disallowed-references.  Add
    phase to prevent configure flags from being stored in the output.
---
 gnu/packages/curl.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index b2884dd..b06d01c 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2015 Tomáš Čech <address@hidden>
 ;;; Copyright © 2015 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2016, 2017, 2019 Leo Famulari <address@hidden>
-;;; Copyright © 2017, 2019 Marius Bakke <address@hidden>
+;;; Copyright © 2017, 2019, 2020 Marius Bakke <address@hidden>
 ;;; Copyright © 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Roel Janssen <address@hidden>
@@ -93,13 +93,20 @@
            (separator #f)                         ;single entry
            (files '("etc/ssl/certs/ca-certificates.crt")))))
    (arguments
-    `(#:configure-flags (list "--with-gnutls"
+    `(#:disallowed-references ("doc")
+      #:configure-flags (list "--with-gnutls"
                               (string-append "--with-gssapi="
                                              (assoc-ref %build-inputs 
"mit-krb5"))
                               "--disable-static")
-      ;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
       #:phases
       (modify-phases %standard-phases
+        (add-after 'unpack 'do-not-record-configure-flags
+          (lambda _
+            ;; Do not save the configure options to avoid unnecessary 
references.
+            (substitute* "curl-config.in"
+              (("@CONFIGURE_OPTIONS@")
+               "\"not available\""))
+            #t))
         (add-after
          'install 'move-man3-pages
          (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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