Add missing build dependencies to hdf package (#1812)
This commit is contained in:
		 Adam J. Stewart
					Adam J. Stewart
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							3d3614e522
						
					
				
				
					commit
					cf925ddc97
				
			| @@ -38,13 +38,12 @@ class Hdf(Package): | ||||
|  | ||||
|     variant('szip', default=False, description="Enable szip support") | ||||
|  | ||||
|     depends_on("jpeg") | ||||
|     depends_on("szip", when='+szip') | ||||
|     depends_on("zlib") | ||||
|     depends_on('jpeg') | ||||
|     depends_on('szip', when='+szip') | ||||
|     depends_on('zlib') | ||||
|  | ||||
|     def url_for_version(self, version): | ||||
|         return "https://www.hdfgroup.org/ftp/HDF/releases/HDF" + str( | ||||
|             version) + "/src/hdf-" + str(version) + ".tar.gz" | ||||
|     depends_on('bison', type='build') | ||||
|     depends_on('flex',  type='build') | ||||
|  | ||||
|     def install(self, spec, prefix): | ||||
|         config_args = [ | ||||
| @@ -66,4 +65,5 @@ def install(self, spec, prefix): | ||||
|         configure(*config_args) | ||||
|  | ||||
|         make() | ||||
|         make("install") | ||||
|         make('check') | ||||
|         make('install') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user