git: 03ddc450f67f - main - converters/aish: Fix build with lvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 12 Jun 2023 22:58:43 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=03ddc450f67f0c111a6626012ff5390a9721555b

commit 03ddc450f67f0c111a6626012ff5390a9721555b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 20:01:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 22:58:35 +0000

    converters/aish: Fix build with lvm15
    
    - Add LICENSE NONE
---
 converters/aish/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/converters/aish/Makefile b/converters/aish/Makefile
index 9f868bbc1c75..9e9d38155030 100644
--- a/converters/aish/Makefile
+++ b/converters/aish/Makefile
@@ -8,10 +8,18 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Ish/uuencode/Base64 converter
 WWW=		https://hp.vector.co.jp/authors/VA004474/etc/etc.html
 
+LICENSE=	NONE
+
 MAKE_ARGS=	DSTDIR=${STAGEDIR}${PREFIX}/bin
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/aish
 	${INSTALL_DATA} ${WRKSRC}/aish.txt ${STAGEDIR}${PREFIX}/share/doc/ja/aish