summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d442cf4c34c..18df8d9a435f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = emos
pkgdesc = ECMWF Interpolation Library
pkgver = 4.5.9
- pkgrel = 2
+ pkgrel = 3
url = https://software.ecmwf.int/wiki/display/EMOS/Emoslib
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e0cc5aa61a3c..21599e13bad2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Graziano Giuliani <graziano.giuliani@gmail.com>
pkgname=emos
pkgver=4.5.9
-pkgrel=2
+pkgrel=3
pkgdesc="ECMWF Interpolation Library"
arch=(i686 x86_64)
url="https://software.ecmwf.int/wiki/display/EMOS/Emoslib"
@@ -20,7 +20,8 @@ build() {
cd build
cmake -DENABLE_ECCODES=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=production ..
+ -DCMAKE_BUILD_TYPE=production \
+ -DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch ..
find . -name link.txt -exec sed -i {} \
-e 's/-lfftw3/-lfftw3 -leccodes/' \
-e 's!/usr/lib/libfftw3.so!/usr/lib/libfftw3.so -leccodes!' \;