Files
ports/math/libpoly/Makefile
T
2026-06-20 22:45:10 -07:00

34 lines
859 B
Makefile

PORTNAME= libpoly
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C library for manipulating polynomials
WWW= https://github.com/SRI-CSL/libpoly
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libgmp.so:math/gmp
USES= cmake:testing
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= SRI-CSL
CMAKE_OFF= LIBPOLY_BUILD_PYTHON_API LIBPOLY_BUILD_STATIC LIBPOLY_BUILD_STATIC_PIC
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=unused-but-set-variable -Wno-error=deprecated-literal-operator # see https://github.com/SRI-CSL/libpoly/issues/111 for -Wno-error=deprecated-literal-operator
# -Wno-error=unused-but-set-variable above is probably not needed any more
.endif
# tests as of 0.2.1: 100% tests passed, 0 tests failed out of 15
.include <bsd.port.post.mk>