git: 07f25c9c9f5b - main - misc/orville-write: Fix build on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 15:39:06 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=07f25c9c9f5bcca469999a0458092376ba5a41be commit 07f25c9c9f5bcca469999a0458092376ba5a41be Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 15:00:28 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 15:38:52 +0000 misc/orville-write: Fix build on llvm15 - Pet portclippy - Adopt port --- misc/orville-write/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/misc/orville-write/Makefile b/misc/orville-write/Makefile index f72ac4c1f99e..30ee1a544e26 100644 --- a/misc/orville-write/Makefile +++ b/misc/orville-write/Makefile @@ -4,11 +4,14 @@ PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://unixpapa.com/software/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Advanced replacement for write/mesg WWW= https://unixpapa.com/write.html GNU_CONFIGURE= yes + +MAKE_JOBS_UNSAFE=yes + CFLAGS+= -Wno-return-type PLIST_FILES= "@(,,4711) bin/amin" "@(,,4711) bin/helpers" "@(,,4711) bin/huh" \ @@ -17,7 +20,11 @@ PLIST_FILES= "@(,,4711) bin/amin" "@(,,4711) bin/helpers" "@(,,4711) bin/huh" \ man/man1/amin.1.gz man/man1/helpers.1.gz man/man1/huh.1.gz \ man/man1/mesg.1.gz man/man1/write.1.gz -MAKE_JOBS_UNSAFE=yes +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif do-install: .for i in amin helpers huh mesg @@ -39,4 +46,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1 .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk>