gnu: grep: Add dependency on PCRE.
Suggested by Oleg Pykhalov <go.wigust@gmail.com> and Roel Janssen <roel@gnu.org>. * gnu/packages/base.scm (grep)[inputs]: New field. * gnu/packages/commencement.scm (grep-final)[inputs]: New field.
This commit is contained in:
		
							parent
							
								
									33ca12f3e4
								
							
						
					
					
						commit
						20bf5fce7d
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| ;;; GNU Guix --- Functional package management for GNU | ||||
| ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> | ||||
| ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> | ||||
| ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr> | ||||
| ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> | ||||
| ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> | ||||
|  | @ -38,6 +38,7 @@ | |||
|   #:use-module (gnu packages compression) | ||||
|   #:use-module (gnu packages perl) | ||||
|   #:use-module (gnu packages linux) | ||||
|   #:use-module (gnu packages pcre) | ||||
|   #:use-module (gnu packages texinfo) | ||||
|   #:use-module (gnu packages hurd) | ||||
|   #:use-module (gnu packages pkg-config) | ||||
|  | @ -93,6 +94,7 @@ command-line arguments, multiple languages, and so on.") | |||
|                                      "grep-gnulib-lock.patch")))) | ||||
|    (build-system gnu-build-system) | ||||
|    (native-inputs `(("perl" ,perl)))             ;some of the tests require it | ||||
|    (inputs `(("pcre" ,pcre))) | ||||
|    (arguments | ||||
|     `(#:phases | ||||
|       (modify-phases %standard-phases | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| ;;; GNU Guix --- Functional package management for GNU | ||||
| ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> | ||||
| ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> | ||||
| ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr> | ||||
| ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> | ||||
| ;;; Copyright © 2014, 2015, 2017 Mark H Weaver <mhw@netris.org> | ||||
|  | @ -884,6 +884,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" | |||
|   (package-with-bootstrap-guile | ||||
|    (package-with-explicit-inputs (package | ||||
|                                    (inherit grep) | ||||
|                                    (inputs '())   ;no PCRE support | ||||
|                                    (native-inputs `(("perl" ,perl-boot0)))) | ||||
|                                  %boot5-inputs | ||||
|                                  (current-source-location) | ||||
|  |  | |||
		Reference in a new issue