Skip to content

Commit

Permalink
Use pkg to install libhdf5 on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed May 17, 2017
1 parent a857a1c commit 95ee755
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deps/build.jl
Expand Up @@ -35,6 +35,11 @@ if is_apple()
provides(Homebrew.HB, "homebrew/science/hdf5", hdf5, os=:Darwin)
end

if Sys.KERNEL === :FreeBSD
hdf5 = library_dependency("libhdf5", validate=compatible_version)
provides(BSDPkg, "hdf5", hdf5)
end

provides(Sources, URI("https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/hdf5-1.10.0-patch1.tar.gz"), hdf5)
provides(BuildProcess, Autotools(libtarget = joinpath("src", "libhdf5.la")), hdf5)

Expand Down

0 comments on commit 95ee755

Please sign in to comment.