mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
netcdf: rebuild for hdf5
This commit is contained in:
parent
7281b8a67c
commit
f028b6be2d
1 changed files with 2 additions and 10 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'netcdf'
|
# Template file for 'netcdf'
|
||||||
pkgname=netcdf
|
pkgname=netcdf
|
||||||
version=4.9.2
|
version=4.9.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared"
|
|
||||||
hostmakedepends="m4"
|
hostmakedepends="m4"
|
||||||
makedepends="libcurl-devel libxml2-devel"
|
makedepends="libcurl-devel libxml2-devel hdf5-devel"
|
||||||
short_desc="Machine-independent format for representing scientific data"
|
short_desc="Machine-independent format for representing scientific data"
|
||||||
maintainer="Hans Grob <woufrous@gmail.com>"
|
maintainer="Hans Grob <woufrous@gmail.com>"
|
||||||
license="NetCDF"
|
license="NetCDF"
|
||||||
|
@ -14,13 +13,6 @@ distfiles="https://github.com/Unidata/netcdf-c/archive/v${version}.tar.gz"
|
||||||
checksum=bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7
|
checksum=bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7
|
||||||
make_check=no # https://github.com/Unidata/netcdf-c/issues/2433
|
make_check=no # https://github.com/Unidata/netcdf-c/issues/2433
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
configure_args+=" --disable-netcdf-4"
|
|
||||||
else
|
|
||||||
configure_args+=" --enable-netcdf-4"
|
|
||||||
makedepends+=" hdf5-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove references to hardening -specs.
|
# Remove references to hardening -specs.
|
||||||
sed -e "s|-specs=.*hardened-ld||g" -e "s|-specs=.*hardened-cc1||g" \
|
sed -e "s|-specs=.*hardened-ld||g" -e "s|-specs=.*hardened-cc1||g" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue