From f66ba23073f5e808aba273db474b0749ef1d0a64 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 3 Jun 2023 20:43:48 +0200 Subject: [PATCH] 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 + +.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 +.include