summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraziano.giuliani2018-05-08 18:58:50 +0200
committergraziano.giuliani2018-05-08 18:58:50 +0200
commit0d4a69738a10e02d9058b64f37dfadf5d6a82d55 (patch)
treed1b1438d7ecefcb2bc920282748a0b8f02285352
parent2e63e4061864d5f129f77bee79e775cb43fa1865 (diff)
downloadaur-0d4a69738a10e02d9058b64f37dfadf5d6a82d55.tar.gz
fix for rpc out of libc
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 564fe254fa8..d663ab12edf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
# Generated by mksrcinfo v8
-# Sat Mar 24 14:32:42 UTC 2018
+# Tue May 8 16:58:04 UTC 2018
pkgbase = metview
pkgdesc = ECMWF interactive meteorological application
pkgver = 5.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://software.ecmwf.int/wiki/display/METV/Metview
arch = i686
arch = x86_64
groups = science
license = APACHE
makedepends = emos>=4.0.5
+ makedepends = rpcsvc-proto
depends = magics++>=3.0.0
depends = mksh
depends = openmotif
@@ -17,6 +18,7 @@ pkgbase = metview
depends = eccodes
depends = qtwebkit
depends = libxpm
+ depends = libtirpc
source = https://software.ecmwf.int/wiki/download/attachments/3964985/Metview-5.0.1-Source.tar.gz
md5sums = f34d21f7da0b0d316693c6f10a5b3da9
diff --git a/PKGBUILD b/PKGBUILD
index 7f68ad4c022..4867a808f2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Contributor: Graziano Giuliani <graziano.giuliani@poste.it>
pkgname=metview
pkgver=5.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="ECMWF interactive meteorological application"
arch=(i686 x86_64)
url="https://software.ecmwf.int/wiki/display/METV/Metview"
license=('APACHE')
groups=(science)
-depends=( 'magics++>=3.0.0' mksh openmotif netcdf-cxx-legacy eccodes qtwebkit libxpm)
-makedepends=('emos>=4.0.5')
+depends=( 'magics++>=3.0.0' mksh openmotif netcdf-cxx-legacy eccodes qtwebkit libxpm libtirpc)
+makedepends=('emos>=4.0.5' rpcsvc-proto)
provides=()
conflicts=()
replaces=()
@@ -21,12 +21,15 @@ md5sums=('f34d21f7da0b0d316693c6f10a5b3da9')
build() {
cd Metview-${pkgver}-Source
+ ln -sf /usr/include/tirpc/rpc src/libMarsClient
+ ln -sf /usr/include/tirpc/netconfig.h src/libMarsClient
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=/usr/bin/gcc \
-Dmagics_DIR=/usr/share/magics/cmake \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=production \
-DCMAKE_INSTALL_DATADIR=/usr/share -DENABLE_QT5=ON \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 ..
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DCMAKE_CXX_STANDARD_LIBRARIES="-ltirpc" ..
make || return 1
}