Created attachment 177887 [details]
The build would fail on:
===> Patching for subversion-1.9.5
===> Applying extra patch /usr/ports/devel/subversion/files/extra-patch-fbsd-template
===> Applying FreeBSD patches for subversion-1.9.5
sed: /tmp/usr/ports/devel/subversion/work/subversion-1.9.5/tools/dist/nominate.pl: in-place editing only works for regular files
*** Error code 1
The problem is that the port is not using the standard Uses/shebangfix.mk but instead used grep -R, which does not distinguish between regular file and symbolic links.
The proposed fix uses find(1) instead of using direct recursive grep.
A commit references this bug:
Date: Wed Feb 1 17:42:41 UTC 2017
New revision: 433059
Fix shebang fix for new sed(1) behavior
Submitted by: Xin Li <delphij@FreeBSD.org>