Created attachment 194182 [details] patch
Patch looks good. However, if samtools and bcftools should be patched as well to stay in sync with htslib.
Committed.
A commit references this bug: Author: yuri Date: Mon Jul 16 18:11:45 UTC 2018 New revision: 474752 URL: https://svnweb.freebsd.org/changeset/ports/474752 Log: biology/htslib: Update 1.6 -> 1.8 Port changes: * Use DISTVERSION * Add USES=localbase instead of CPPFLAGS/LDFLAGS * Move USES=ssl to CURL_USES=ssl * Update WWW PR: 228908 Approved by: maintainer's timeout (cartwright@asu.edu; 35 days) Changes: head/biology/htslib/Makefile head/biology/htslib/distinfo head/biology/htslib/pkg-descr head/biology/htslib/pkg-plist