summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-10-18 16:58:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-10-19 09:04:43 +0300
commit8c88e0ba8c2f0ed653adbfbf512711d33055211c (patch)
treea1c510aa901bc0571aa4cb737434e4ef5ad281ef /gnu/packages
parent01c7193e0b0abe0b99c667ea6e8f0cfe17f9bcca (diff)
downloadguix-8c88e0ba8c2f0ed653adbfbf512711d33055211c.tar.gz
gnu: libltdl: Use 'modify-phases'.
* gnu/packages/autotools.scm (libltdl)[arguments]: Use 'modify-phases'
syntax.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/autotools.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 56c6773dca..6cba9ee2df 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -391,11 +391,9 @@ complexity of working with shared libraries across platforms.")
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags '("--enable-ltdl-install") ;really install it
-       #:phases (alist-cons-before
-                 'configure 'change-directory
-                 (lambda _
-                   (chdir "libltdl"))
-                 %standard-phases)))
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'change-directory
+                    (lambda _ (chdir "libltdl") #t)))))
 
     (synopsis "System-independent dlopen wrapper of GNU libtool")
     (description (package-description libtool))