Created attachment 181099 [details] v1 The build needs base64 only when creating the secrets file, which it is not doing here. While there, use the new opt_CMAKE_BOOK helper.
Created attachment 181103 [details] v2 Also, make sure tr runs in a clean environment, if using some non ASCII locale, it will fail at the first character that is not valid in that locale with: # tr -cd "[:alnum:]" < /dev/urandom | head -c 24 tr: Illegal byte sequence
Comment on attachment 181103 [details] v2 Yes, I approve this patch. Thanks a lot for your work.
A commit references this bug: Author: mat Date: Sat Mar 25 19:25:14 UTC 2017 New revision: 436913 URL: https://svnweb.freebsd.org/changeset/ports/436913 Log: Remove unneeded dependency, use the opt_CMAKE_BOOL helper, and make sure tr runs without any LC_* set or it will fail. PR: 218040 Submitted by: mat Approved by: maintainer Sponsored by: Absolight Changes: head/mail/postsrsd/Makefile head/mail/postsrsd/files/postsrsd.in