Created attachment 236653 [details] Fix build There is the following error when BATCH is defined. The attached patch fixes this problem to remove LICENSE* variables if USES=metaport is set. # cd /usr/ports/japanese/mecab-ipadic # make BATCH= ===> ja-mecab-ipadic-2.7.0.20070801_1 License NA needs confirmation, but BATCH is defined. *** Error code 1 Stop. make: stopped in /usr/ports/japanese/mecab-ipadic
The issue does not reproduce with current ports tree. # make BATCH= -C /usr/ports/japanese/mecab-ipadic clean stage
It might be too early to close this. Is this still an issue? Can you reproduce this with current ports tree head?
The issue was fixed by metaport.mk instead of changing individual ports. See: https://cgit.freebsd.org/ports/commit/Mk/Uses/metaport.mk?id=6d5f280b6186b8586aa1392c6d90ad45df52d305 But my patch is worth committing to follow metaport rules.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5252c86d935a65107fda89bff9aed8e02c9fb08 commit a5252c86d935a65107fda89bff9aed8e02c9fb08 Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2022-11-28 12:52:53 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2022-11-28 12:55:45 +0000 japanese/mecab-ipadic: Do not set LICENSE for metaport as metaport itself does not any LICENSE. PR: 266476 japanese/mecab-ipadic/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-)
Committed, thanks!