The latest commit made some changes to the license (See here bug #269732 and https://cgit.freebsd.org/ports/commit?id=9009f2cfb80d5dbc624956449a937c6697015fe8). This includes that the variable ${_LICENSE_DIR} is used in the do-install section. But this variable is not defined if DISABLE_LICENSES is set to yes, and therefore the build fails. This is because the license file is expected under usr/local/share/licenses/lha-1.14i_9/LICENSE.en but neither the creation of this folder nor the install of this file works correctly. I'm not sure what's the best way to solve this problem. Also not sure what legal implication some changes may have. Therefore i can't provide a commit to fix this issue. Build Log: =========================================================================== =======================<phase: run-depends >============================ =========================================================================== =======================<phase: stage >============================ ===> Staging for lha-1.14i_9 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/man/ja/man1 /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/lha /wrkdirs/usr/ports/archivers/lha/work/stage install -m 555 /wrkdirs/usr/ports/archivers/lha/work/lha-114i/src/lha /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/bin/ install -m 444 /wrkdirs/usr/ports/archivers/lha/work/lha-114i/man/lha.n /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/man/ja/man1/lha.1 install -m 0644 /portdistfiles/lha-114i.tar.gz /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/lha/ install -m 0644 /usr/ports/archivers/lha/files/LICENSE.en /wrkdirs/usr/ports/archivers/lha/work/stage/ ====> Compressing man pages (compress-man) =========================================================================== =======================<phase: package >============================ ===> Building package for lha-1.14i_9 pkg-static: Unable to access file /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/licenses/lha-1.14i_9/LICENSE.en:No such file or directory *** Error code 1
*** This bug has been marked as a duplicate of bug 270082 ***