9b178ffd7e
llvm15 was also merged into 13.2-STABLE effective from OSVERSION 1302505. Fix the ports that failed to build with llvm15. Approved by: portmgr (blanket)
28 lines
661 B
Makefile
28 lines
661 B
Makefile
PORTNAME= libpoly
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.1.11
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C library for manipulating polynomials
|
|
WWW= https://github.com/SRI-CSL/libpoly
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
|
|
|
USES= cmake:testing
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= SRI-CSL
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_OFF= LIBPOLY_BUILD_PYTHON_API LIBPOLY_BUILD_STATIC LIBPOLY_BUILD_STATIC_PIC
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=unused-but-set-variable
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|