~ruther/guix-local

04014de6f555e21cccb056650f334be316390b5c — Efraim Flashner 9 years ago eccd1d2
gnu: hop: Use 'modify-phases' syntax.

* gnu/packages/scheme.scm (hop)[arguments]: Use 'modify-phases' syntax.
1 files changed, 12 insertions(+), 13 deletions(-)

M gnu/packages/scheme.scm
M gnu/packages/scheme.scm => gnu/packages/scheme.scm +12 -13
@@ 295,19 295,18 @@ Scheme and C programs and between Scheme and Java programs.")
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (alist-replace
        'configure
        (lambda* (#:key outputs #:allow-other-keys)
          (let ((out (assoc-ref outputs "out")))
            (zero?
             (system* "./configure"
                      (string-append "--prefix=" out)
                      (string-append "--blflags="
                                     ;; user flags completely override useful
                                     ;; default flags, so repeat them here.
                                     "-copt \\$(CPICFLAGS) -L\\$(BUILDLIBDIR) "
                                     "-ldopt -Wl,-rpath," out "/lib")))))
        %standard-phases)
       (modify-phases %standard-phases
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
               (zero?
                (system* "./configure"
                         (string-append "--prefix=" out)
                         (string-append "--blflags="
                                        ;; user flags completely override useful
                                        ;; default flags, so repeat them here.
                                        "-copt \\$(CPICFLAGS) -L\\$(BUILDLIBDIR) "
                                        "-ldopt -Wl,-rpath," out "/lib")))))))
       #:tests? #f))                                ; no test suite
    (inputs `(("avahi" ,avahi)
              ("bigloo" ,bigloo)