Tell configure about gmp (#5585)
This is a partial fix for #5564. This package used to trust that `configure` would discover `gmp` from its environment. It's safer to tell it where to find `gmp` explicitly. This does that by adding a configure_args() that provides a `--with-gmp=...` argument for configure.
This commit is contained in:
		 George Hartzell
					George Hartzell
				
			
				
					committed by
					
						 Christoph Junghans
						Christoph Junghans
					
				
			
			
				
	
			
			
			 Christoph Junghans
						Christoph Junghans
					
				
			
						parent
						
							d22ee8f993
						
					
				
				
					commit
					5bc81c8db2
				
			| @@ -42,3 +42,9 @@ class Mpfr(AutotoolsPackage): | ||||
|  | ||||
|     patch('vasprintf.patch', when='@3.1.5') | ||||
|     patch('strtofr.patch',   when='@3.1.5') | ||||
|  | ||||
|     def configure_args(self): | ||||
|         args = [ | ||||
|             '--with-gmp=' + self.spec['gmp'].prefix, | ||||
|         ] | ||||
|         return args | ||||
|   | ||||
		Reference in New Issue
	
	Block a user