guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: libpsl: Fix link flag in 'libpsl.pc'.


From: Ludovic Courtès
Subject: 02/03: gnu: libpsl: Fix link flag in 'libpsl.pc'.
Date: Sun, 01 Mar 2015 21:22:50 +0000

civodul pushed a commit to branch master
in repository guix.

commit ec35d364959078ac8e452db3ddc09ff0143d89da
Author: Ludovic Courtès <address@hidden>
Date:   Sun Mar 1 22:21:53 2015 +0100

    gnu: libpsl: Fix link flag in 'libpsl.pc'.
    
    * gnu/packages/web.scm (libpsl)[source]: Add 'snippet' and 'modules'
      fields.
---
 gnu/packages/web.scm |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 5296c43..fd1d6dd 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -248,7 +248,12 @@ for efficient socket-like bidirectional reliable 
communication channels.")
               (sha256
                (base32
                 "10s7xxxx6pp4ydp3san69sa6q379ih3pv92fyi565ggmlw8igv7a"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Believe it or not, the .pc is invalid.  Fix it.
+               '(substitute* "libpsl.pc.in"
+                  (("-llibpsl") "-lpsl")))))
     (build-system gnu-build-system)
     (inputs `(("icu4c" ,icu4c)))
     ;; The release tarball lacks the generated files.



reply via email to

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