git: ef55f9cfc489 - main - lang/cim: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 20:45:43 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ef55f9cfc489f3b0e3f8113235eafcdcd9e45eb1
commit ef55f9cfc489f3b0e3f8113235eafcdcd9e45eb1
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 19:46:05 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 20:45:25 +0000
lang/cim: Fix build with llvm15
- Pet portclippy
- Adopt port
---
lang/cim/Makefile | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/lang/cim/Makefile b/lang/cim/Makefile
index 192806b22504..bfda9b1218e3 100644
--- a/lang/cim/Makefile
+++ b/lang/cim/Makefile
@@ -4,19 +4,28 @@ PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://simula67.at.ifi.uio.no/Cim/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Compiler for the SIMULA programming language
WWW= http://folk.uio.no/simula67/cim.shtml
LICENSE= GPLv2
USES= libtool
-GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
INSTALL_TARGET= install-strip
TEST_TARGET= check-TESTS
+
TEST_WRKSRC= ${WRKSRC}/test
INFO= cim
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>