freebsd-ports/lang/cim/Makefile
Muhammad Moinur Rahman 95274bf4f9 */*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.

- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
  1302507 and less than 1400000

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-07-26 02:48:20 +02:00

34 lines
767 B
Makefile

PORTNAME= cim
PORTVERSION= 3.37
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://simula67.at.ifi.uio.no/Cim/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Compiler for the SIMULA programming language
WWW= http://folk.uio.no/simula67/cim.shtml
LICENSE= GPLv2
USES= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check-TESTS
TEST_WRKSRC= ${WRKSRC}/test
INFO= cim
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.endif
.include <bsd.port.mk>