aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-04-19 09:12:08 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-04-19 10:07:54 +0000
commit4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41 (patch)
treec44feb5c7918d1da8f61b90a11dae5b9b196b22f /math
parent33a9e212a922ff1c75c5f085ad9c46ce77ceda25 (diff)
downloadports-4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41.tar.gz
ports-4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41.zip
math/sage: work-around to chase the upgrade of py-docutils to 0.17
There is no subdir hu for Hungarian under $PYTHON_SITELIBDIR/docutils/languages and since the upgrade to textproc/py-docutils to 0.17 this causes a failure in dochtml when building Sage. Neither the upgrade to 0.17.1 proposed in PR 255197 solves the problem: as a work-around this modification only removes the build of a_tour_of_sage for hu.
Diffstat (limited to 'math')
-rw-r--r--math/sage/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile
index a489fb5a2351..300a38dd406c 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sage
PORTVERSION= 9.2
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= math
MASTER_SITES= https://mirrors.xmission.com/sage/src/ \
http://mirrors.xmission.com/sage/src/ \
@@ -500,6 +500,8 @@ pre-configure:
${REINPLACE_CMD} -e 's|/var/lib/sage|/share/libdata/${PORTNAME}|' \
${WRKSRC}/${f}
.endfor
+ # Bug with py-docutils > 0.16
+ ${RM} -r ${WRKSRC}/src/doc/hu
(cd ${WRKSRC} && ./bootstrap)
${MKDIR} ${BLDDIR}${PREFIX}/lib/pkgconfig # Removed thereafter