From 0cae36b5e5bd88eefea30b122acd41290a966980 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 5 Sep 2017 21:25:24 +0300 Subject: gnu: libmediainfo: Adjust build phases. * gnu/packages/video.scm (libmediainfo)[arguments]: Change to the build directory before running autogen. --- 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 3924e93f96..ab755347d3 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2250,10 +2250,11 @@ practically any type of media.") #: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/Library"))) - (add-after 'unpack 'autogen + (chdir "Project/GNU/Library") + #t)) + (add-after 'change-to-build-dir 'autogen (lambda _ (zero? (system* "sh" "autogen.sh"))))))) (home-page "https://mediaarea.net/en/MediaInfo") -- cgit v1.2.3