Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/netcdf-openmpi/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 10:10:30 +0100
committerErich Eckner <git@eckner.net>2019-01-21 10:10:30 +0100
commit44997e9d4fe44e6c7c4a55556d888ae1d9a94fc5 (patch)
treed567725073108ad43ad984ac3e8bbdafd59de0e4 /community/netcdf-openmpi/PKGBUILD
parent110c12613a8ad230c4afb0e699a1e835f1dab6d0 (diff)
parentbb161a0de693802cdcec8d1b06c90b7450b39932 (diff)
Merge branch 'master' into i486
Diffstat (limited to 'community/netcdf-openmpi/PKGBUILD')
-rw-r--r--community/netcdf-openmpi/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/netcdf-openmpi/PKGBUILD b/community/netcdf-openmpi/PKGBUILD
new file mode 100644
index 00000000..e18dbf41
--- /dev/null
+++ b/community/netcdf-openmpi/PKGBUILD
@@ -0,0 +1,11 @@
+# breaking a cycle with pnetcdf-openmpi
+depends=(${depends[@]//"pnetcdf-${_mpi}"/})
+
+# "Unable to support CDF5 feature because size_t is less than 8 bytes"
+eval "$(
+ declare -f build | \
+ sed '
+ s/-DENABLE_CDF5=ON/-DENABLE_CDF5=OFF/g
+ s/-DENABLE_PNETCDF=ON/-DENABLE_PNETCDF=OFF/g
+ '
+)"