[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: libvpx: Move hard-coded logic out of configure phase.
From: |
Marius Bakke |
Subject: |
09/10: gnu: libvpx: Move hard-coded logic out of configure phase. |
Date: |
Thu, 1 Feb 2018 06:14:06 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit e896c227e3ce536ae264361c40aa88d83d092776
Author: Marius Bakke <address@hidden>
Date: Wed Jan 17 00:38:26 2018 +0100
gnu: libvpx: Move hard-coded logic out of configure phase.
* gnu/packages/video.scm (libvpx)[arguments]: Move arguments from
CONFIGURE-PHASE to #:make-flags and #:configure-flags.
---
gnu/packages/video.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 24c8701..0f419e3 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2017 Gregor Giesen <address@hidden>
;;; Copyright © 2017 Rutger Helling <address@hidden>
;;; Copyright © 2018 Roel Janssen <address@hidden>
+;;; Copyright © 2018 Marius Bakke <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1126,20 +1127,19 @@ access to mpv's powerful playback capabilities.")
(patches (search-patches "libvpx-CVE-2016-2818.patch"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "CONFIG_SHELL" (which "bash"))
- (let ((out (assoc-ref outputs "out")))
- (setenv "LDFLAGS"
- (string-append "-Wl,-rpath=" out "/lib"))
- (zero? (system* "./configure"
- "--enable-shared"
+ `(#:configure-flags (list "--enable-shared"
"--as=yasm"
;; Limit size to avoid CVE-2015-1258
"--size-limit=16384x16384"
- (string-append "--prefix=" out)))))))
+ (string-append "--prefix=" (assoc-ref %outputs
"out")))
+ #:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib"))
+ #:phases (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ ;; The configure script does not understand some of the
GNU
+ ;; options, so we only add the flags specified above.
+ (apply invoke "./configure" configure-flags))))
#:tests? #f)) ; no check target
(native-inputs
`(("perl" ,perl)
- branch master updated (09d95d8 -> 8a46443), Marius Bakke, 2018/02/01
- 06/10: gnu: whois: Update to 5.3.0., Marius Bakke, 2018/02/01
- 07/10: gnu: ldb: Update to 1.3.1., Marius Bakke, 2018/02/01
- 05/10: gnu: libraw: Update to 0.18.7., Marius Bakke, 2018/02/01
- 04/10: gnu: imagemagick: Update to 6.9.9-34., Marius Bakke, 2018/02/01
- 02/10: gnu: feh: Update to 2.23.1., Marius Bakke, 2018/02/01
- 03/10: gnu: re2: Update to 2018-02-01., Marius Bakke, 2018/02/01
- 01/10: Revert "gnu: python-dateutil: Update to 2.6.1.", Marius Bakke, 2018/02/01
- 10/10: gnu: libvpx: Update to 1.7.0., Marius Bakke, 2018/02/01
- 09/10: gnu: libvpx: Move hard-coded logic out of configure phase.,
Marius Bakke <=
- 08/10: gnu: tevent: Update to 0.9.35., Marius Bakke, 2018/02/01