gnu: commencement: Remove unneeded configure flag for bootstrap gettext.

* gnu/packages/commencement.scm (gettext-boot0): Remove unneeded
  --disable-threads.
master
Ludovic Courtès 2015-04-22 00:31:22 +02:00
parent cc8ddcb097
commit 669b8639a2
1 changed files with 24 additions and 26 deletions

View File

@ -421,34 +421,32 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
(define gettext-boot0 (define gettext-boot0
;; A minimal gettext used during bootstrap. ;; A minimal gettext used during bootstrap.
(let ((gettext-minimal (package (let ((gettext-minimal
(inherit gnu-gettext) (package (inherit gnu-gettext)
(name "gettext-boot0") (name "gettext-boot0")
(inputs '()) ;zero dependencies (inputs '()) ;zero dependencies
(arguments (arguments
(substitute-keyword-arguments (substitute-keyword-arguments
`(#:configure-flags '("--disable-threads") `(#:tests? #f
#:tests? #f ,@(package-arguments gnu-gettext))
,@(package-arguments gnu-gettext)) ((#:phases phases)
((#:phases phases) `(modify-phases ,phases
`(modify-phases ,phases ;; Build only the tools.
;; Build only the tools. (add-after 'unpack 'chdir
(add-after 'unpack 'chdir (lambda _
(lambda _ (chdir "gettext-tools")))
(chdir "gettext-tools")))
;; Some test programs require pthreads, ;; Some test programs require pthreads, which we don't have.
;; which we don't have. (add-before 'configure 'no-test-programs
(add-before 'configure 'no-test-programs (lambda _
(lambda _ (substitute* "tests/Makefile.in"
(substitute* "tests/Makefile.in" (("^PROGRAMS =.*$")
(("^PROGRAMS =.*$") "PROGRAMS =\n"))
"PROGRAMS =\n")) #t))
#t))
;; Don't try to link against libexpat. ;; Don't try to link against libexpat.
(delete 'link-expat) (delete 'link-expat)
(delete 'patch-tests)))))))) (delete 'patch-tests))))))))
(package-with-bootstrap-guile (package-with-bootstrap-guile
(package-with-explicit-inputs gettext-minimal (package-with-explicit-inputs gettext-minimal
%boot1-inputs %boot1-inputs