svn commit: r532263 - head/math/pynac
Thierry Thomas
thierry at FreeBSD.org
Tue Apr 21 10:10:22 UTC 2020
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 at GCC_7.0.0')
+.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list