When option VAR_LOG is set in the ports configuration, the port fails during installation with message: [...] ===> Installing for freebsd-uucp-1.07.4 ===> Checking if freebsd-uucp already installed ===> Registering installation for freebsd-uucp-1.07.4 pkg-static: lstat(/usr/ports/net/freebsd-uucp/work/stage/var/log/uucp/): No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/net/freebsd-uucp *** Error code 1 Stop. make: stopped in /usr/ports/net/freebsd-uucp ===>>> Installation of freebsd-uucp-1.07.4 (net/freebsd-uucp) failed
Makefile: post-install: + ${MKDIR} ${STAGEDIR}/var/log/uucp
I confirm the suggested change to Makefile fixes the problem.
A commit references this bug: Author: dinoex Date: Wed Feb 22 20:58:38 UTC 2017 New revision: 434641 URL: https://svnweb.freebsd.org/changeset/ports/434641 Log: - fix option VAR_LOG PR: 217285 Changes: head/net/freebsd-uucp/Makefile