Skip to content

Commit

Permalink
math/sage: work-around to chase the upgrade of py-docutils to 0.17
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
thierry-FreeBSD committed Apr 19, 2021
1 parent 33a9e21 commit 4a9bb72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion math/sage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ \
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 4a9bb72

Please sign in to comment.