[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: ots: Use 'modify-phases' syntax.
From: |
Efraim Flashner |
Subject: |
02/02: gnu: ots: Use 'modify-phases' syntax. |
Date: |
Tue, 21 Mar 2017 15:01:04 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 8ea71f20050f9faf1f1faba4b02216436aee783d
Author: Efraim Flashner <address@hidden>
Date: Tue Mar 21 20:57:08 2017 +0200
gnu: ots: Use 'modify-phases' syntax.
* gnu/packages/ots.scm (ots)[arguments]: Use 'modify-phases' syntax.
---
gnu/packages/ots.scm | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/ots.scm b/gnu/packages/ots.scm
index d02a927..73dd5e4 100644
--- a/gnu/packages/ots.scm
+++ b/gnu/packages/ots.scm
@@ -53,17 +53,18 @@
;; before libots-1.la has been built.
'(#:parallel-build? #f
- #:phases (alist-cons-after
- 'configure 'set-shared-lib-extension
- (lambda _
- ;; For some reason, the 'libtool' script (from Libtool
- ;; 1.5.2, Debian variant) sets 'shrext_cmds' instead of
- ;; 'shrext' for the shared library file name extension.
- ;; This leads to the creation of 'libots-1' instead of
- ;; 'libots-1.so'. Fix that.
- (substitute* "libtool"
- (("shrext_cmds") "shrext")))
- %standard-phases)))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'set-shared-lib-extension
+ (lambda _
+ ;; For some reason, the 'libtool' script (from Libtool
+ ;; 1.5.2, Debian variant) sets 'shrext_cmds' instead of
+ ;; 'shrext' for the shared library file name extension.
+ ;; This leads to the creation of 'libots-1' instead of
+ ;; 'libots-1.so'. Fix that.
+ (substitute* "libtool"
+ (("shrext_cmds") "shrext"))
+ #t)))))
(inputs
`(("glib" ,glib)
("popt" ,popt)