From 2f17187ff35a6e7dd7c8e7864225d667129e1584 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 7 Nov 2017 13:47:20 +0200 Subject: [PATCH] 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 60469d6d89..fdc8b02a5a 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")