pkgsrc/devel/hdf5/buildlink3.mk
bacon 98741e5537 devel/hdf5: Enable szip support by default
Support was off by default due to non-distributable archivers/szip dependency.
Replaced with BSD-licensed archivers/libaec, containing drop-in replacement
szip library.
2019-05-01 22:39:29 +00:00

22 lines
520 B
Makefile

# $NetBSD: buildlink3.mk,v 1.15 2019/05/01 22:39:29 bacon Exp $
BUILDLINK_TREE+= hdf5
.if !defined(HDF5_BUILDLINK3_MK)
HDF5_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hdf5+= hdf5>=1.8.7
BUILDLINK_ABI_DEPENDS.hdf5+= hdf5>=1.8.11
BUILDLINK_PKGSRCDIR.hdf5?= ../../devel/hdf5
pkgbase := hdf5
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.hdf5:Mszip)
.include "../../archivers/libaec/buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
.endif # HDF5_BUILDLINK3_MK
BUILDLINK_TREE+= -hdf5