1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

misc/orville-write: Fix build on llvm15

- Pet portclippy
- Adopt port
This commit is contained in:
Muhammad Moinur Rahman 2023-06-03 17:00:28 +02:00
parent 478a7d2b44
commit 07f25c9c9f

View File

@ -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>