Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 19:59:32 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: f66ba23073f5 - main - sysutils/pmt: Fix build with llvm15
Message-ID:  <202306031959.353JxW6e000346@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=f66ba23073f5e808aba273db474b0749ef1d0a64

commit f66ba23073f5e808aba273db474b0749ef1d0a64
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 18:43:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 19:59:23 +0000

    sysutils/pmt: Fix build with llvm15
    
    - Add LICENSE NONE
    - Adopt port
---
 sysutils/pmt/Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/sysutils/pmt/Makefile b/sysutils/pmt/Makefile
index d31ed6e8bb1b..f300de33968b 100644
--- a/sysutils/pmt/Makefile
+++ b/sysutils/pmt/Makefile
@@ -4,15 +4,23 @@ CATEGORIES=	sysutils
 MASTER_SITES=	http://hansmi.ch/download/pmt/ \
 		LOCAL/glarkin
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Small collection of filters which can be added to UNIX pipes
 WWW=		https://hansmi.ch/software/pipe-magic-tools
 
+LICENSE=	NONE
+
 USES=		gmake tar:bzip2
 
 PLIST_FILES=	bin/pmt
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=strict-prototypes
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pmt ${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?202306031959.353JxW6e000346>