Date: Tue, 21 Apr 2020 10:10:22 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r532263 - head/math/pynac Message-ID: <202004211010.03LAAM6L035414@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Tue Apr 21 10:10:21 2020 New Revision: 532263 URL: https://svnweb.freebsd.org/changeset/ports/532263 Log: - Do not enable GIAC by default: it is broken on 11.3, and anyway it is not very useful with SageMath; - Fix pkg-config when GIAC is selected. Modified: head/math/pynac/Makefile Modified: head/math/pynac/Makefile ============================================================================== --- head/math/pynac/Makefile Tue Apr 21 09:35:26 2020 (r532262) +++ head/math/pynac/Makefile Tue Apr 21 10:10:21 2020 (r532263) @@ -3,6 +3,7 @@ PORTNAME= pynac PORTVERSION= 0.7.26 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTNAME}/ @@ -19,7 +20,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \ USES= compiler:c++11-lang libtool localbase pkgconfig python:3.6+ tar:bz2 OPTIONS_DEFINE= GIAC -OPTIONS_DEFAULT= GIAC +OPTIONS_DEFAULT= GIAC_DESC= Use giac for polynomial manipulations GIAC_LIB_DEPENDS= libgiac.so:math/giacxcas GIAC_CONFIGURE_ON= --with-giac @@ -29,5 +30,14 @@ GIAC_LIBS= "-lm" GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check + +pre-configure-GIAC-on: + ${REINPLACE_CMD} -e 's|-lpynac|-lpynac -lgiac|' ${WRKSRC}/pynac.pc.in + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MGIAC} +BROKEN_FreeBSD_11= libgiac is broken (undefined reference to `__divmodti4@GCC_7.0.0') +.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004211010.03LAAM6L035414>