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

* gnu/packages/gnuzilla.scm (nspr)[arguments]: Use 'modify-phases'
syntax.
master
Efraim Flashner 2017-03-27 20:37:01 +03:00
parent 84fb4bd907
commit 04952bd732
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 3 additions and 5 deletions

View File

@ -179,11 +179,9 @@ in C/C++.")
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out")
"/lib"))
#:phases (alist-cons-before
'configure 'chdir
(lambda _
(chdir "nspr"))
%standard-phases)))
#:phases (modify-phases %standard-phases
(add-before 'configure 'chdir
(lambda _ (chdir "nspr") #t)))))
(home-page
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR")
(synopsis "Netscape API for system level and libc-like functions")