Commit 8bc3eb52 authored by Alastair McKinstry's avatar Alastair McKinstry

* Depend on gfortran | fortran-compiler, to allow for flang.

* Look for f95 compiler rather than hard-coded gfortran
parent d51bf433
flexpart (9.02-22) UNRELEASED; urgency=medium
* Depend on gfortran | fortran-compiler, to allow for flang.
* Look for f95 compiler rather than hard-coded gfortran
-- Alastair McKinstry <mckinstry@debian.org> Mon, 11 Feb 2019 09:39:46 +0000
flexpart (9.02-21) unstable; urgency=medium
* Standards-Version: 4.3.0
......
......@@ -3,7 +3,7 @@ Section: science
Priority: optional
Maintainer: Alastair McKinstry <mckinstry@debian.org>
Build-Depends: debhelper (>= 10),
gfortran (>= 4:5.2.1),
gfortran | fortran-compiler,
libeccodes-dev (>= 2.10.0-3)
Standards-Version: 4.3.0
Homepage: https://www.flexpart.eu
......
......@@ -6,7 +6,7 @@
CPU:=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
FC:=$(shell basename $(shell readlink -f /usr/bin/gfortran))
FC:=$(shell basename $(shell readlink -f /usr/bin/f95))
FMODDIR:= /usr/lib/$(DEB_HOST_MULTIARCH)/fortran/$(FC)
FCFLAGS:= -I$(FMODDIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment