Browse Source

gnu: ots: Use 'modify-phases' syntax.

* gnu/packages/ots.scm (ots)[arguments]: Use 'modify-phases' syntax.
gn-latest-20200428
Efraim Flashner 4 years ago
parent
commit
8ea71f2005
Signed by: efraim GPG Key ID: F4C1D3917EACEE93
1 changed files with 12 additions and 11 deletions
  1. +12
    -11
      gnu/packages/ots.scm

+ 12
- 11
gnu/packages/ots.scm View File

@ -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)


Loading…
Cancel
Save