efraim pushed a commit to branch master
in repository guix.

commit 2f17187ff35a6e7dd7c8e7864225d667129e1584
Author: Efraim Flashner <[email protected]>
Date:   Tue Nov 7 13:47:20 2017 +0200

    gnu: mediainfo: Change order of custom phases.
    
    * gnu/packages/video.scm (mediainfo)[arguments]: Change to the build
    directory before executing the autogen script.
---
 gnu/packages/video.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 60469d6..fdc8b02 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2332,10 +2332,11 @@ MPEG-2, MPEG-4, DVD (VOB)...
        #:phases
        ;; build scripts not in root of archive
        (modify-phases %standard-phases
-         (add-before 'configure 'pre-configure
+         (add-after 'unpack 'change-to-build-dir
            (lambda _
-             (chdir "Project/GNU/CLI")))
-         (add-after 'unpack 'autogen
+             (chdir "Project/GNU/CLI")
+             #t))
+         (add-after 'change-to-build-dir 'autogen
            (lambda _
              (zero? (system* "sh" "autogen.sh")))))))
     (home-page "https://mediaarea.net/en/MediaInfo";)

Reply via email to