Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 18:09:08 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cf36cf6227e4 - main - converters/ish: Fix build with llvm15
Message-ID:  <202306051809.355I98oX067435@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit cf36cf6227e4084b9298ed11160fb7c418fd782b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-05 15:28:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-05 18:09:00 +0000

    converters/ish: Fix build with llvm15
    
    - Add LICENSE NONE
---
 converters/ish/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/converters/ish/Makefile b/converters/ish/Makefile
index 16fbe32bad69..657eefa00c67 100644
--- a/converters/ish/Makefile
+++ b/converters/ish/Makefile
@@ -8,13 +8,21 @@ DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Binary-to-text file-encoder
 
+LICENSE=	NONE
+
 MAKEFILE=	makefile
 MAKE_ARGS=	CFLAGS="${CFLAGS}" DEST=${PREFIX}/bin
 ALL_TARGET=	ish
 
 PLIST_FILES=	bin/ish
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ish ${STAGEDIR}${PREFIX}/bin
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306051809.355I98oX067435>