Created attachment 157561 [details] patch for Makefile 1. A configure flag --with-pthread is valid only when --enable-threadsafe is specified. Single --with-pthread has no effect. 2. The configure flag --enable-threadsafe is incompatible with --enable-cxx or --enable-fortran. As we use --enable-{cxx,fortran}, remove the not working thread support, --with-pthread=/usr from CONFIGURE_ARGS.
A commit references this bug: Author: sunpoet Date: Wed Jun 10 16:47:44 UTC 2015 New revision: 389075 URL: https://svnweb.freebsd.org/changeset/ports/389075 Log: - Remove no-op --with-pthread=/usr from CONFIGURE_ARGS: - --enable-threadsafe and --enable-cxx/--enable-cxx are mutually exclusive - --with-pthread=/usr is only valid with --enable-threadsafe PR: 200728 Submitted by: Taoka Fumiyoshi <fmysh@iijmio-mail.jp> Changes: head/science/hdf5/Makefile
Committed. Thanks!