]> git.pld-linux.org Git - packages/hdf5_hl_region.git/blob - hdf5_hl_region-fortran-check.patch
- new URLs, updated to 1.1.5
[packages/hdf5_hl_region.git] / hdf5_hl_region-fortran-check.patch
1 --- hdf5_HL_REGION-1.1.5/Makefile.orig  2019-12-26 18:04:48.693066151 +0100
2 +++ hdf5_HL_REGION-1.1.5/Makefile       2019-12-26 18:15:01.509746238 +0100
3 @@ -47,12 +47,12 @@
4   ifeq (,$(wildcard $(HDF5_INSTALL_DIR)/bin/h5fc))
5     $(error "CONFIGURE ERROR: HDF5 library must be built with the --enable-fortran option")
6   endif
7 - FC = $(HDF5_INSTALL_DIR)/bin/h5fc
8 + H5FC = $(HDF5_INSTALL_DIR)/bin/h5fc
9  
10  # check to make sure hdf5 was built with --enable-fortran2003 (needed for versions prior to 1.10)
11 - CHCK_HDF5VER:= $(strip $(shell $(FC) -showconfig | grep -i "HDF5 Version:" | sed 's/^.* //g'))
12 + CHCK_HDF5VER:= $(strip $(shell $(H5FC) -showconfig | grep -i "HDF5 Version:" | sed 's/^.* //g'))
13   ifeq "$(shell expr $(CHCK_HDF5VER) \<1.9)" "1"
14 -   CHCK_H5FC2003:= $(strip $(shell $(FC) -showconfig | grep -i 2003))
15 +   CHCK_H5FC2003:= $(strip $(shell $(H5FC) -showconfig | grep -i 2003))
16     ifneq ("$(CHCK_H5FC2003)","Fortran 2003 Compiler: yes")
17       $(error "CONFIGURE ERROR: HDF5 library must be built with the --enable-fortran2003 option")
18     endif
This page took 0.172676 seconds and 3 git commands to generate.