Date: Sat, 3 Jun 2023 18:07:01 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: b8d30de51c87 - main - editors/aewan: Fix build on llvm15 Message-ID: <202306031807.353I71Bv018897@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=b8d30de51c878ce35c473f57ae9e79a11d26c723 commit b8d30de51c878ce35c473f57ae9e79a11d26c723 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 17:14:14 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 18:03:23 +0000 editors/aewan: Fix build on llvm15 - Pet portclippy - Adopt port --- editors/aewan/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/editors/aewan/Makefile b/editors/aewan/Makefile index 734bc2429163..4c00b28177ee 100644 --- a/editors/aewan/Makefile +++ b/editors/aewan/Makefile @@ -4,16 +4,17 @@ PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Curses-based program for the creation and editing of ASCII art WWW= http://aewan.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes USES= gmake ncurses +GNU_CONFIGURE= yes + PLIST_FILES= bin/aecat bin/aewan bin/aemakeflic \ man/man1/aecat.1.gz \ man/man1/aewan.1.gz \ @@ -23,6 +24,12 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's|OSTYPE == |OSTYPE = |g' ${WRKSRC}/configure @@ -35,4 +42,4 @@ post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.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?202306031807.353I71Bv018897>