Created attachment 147471 [details] patch to tweak openoffice-4 to use private copy of saxon The editors/openoffice-4 port currently depends on textproc/saxon-devel and relies on features that are only present in this version of saxon. The recent update to math/scilab added a dependency to textproc/saxon-he, and it requires features that are only present in this version. Unfortunately saxon-devel and saxon-he conflict because they both want to install /usr/local/share/java/classes/saxon9-xqj.jar, which means that openoffice-4 and scilab can't both be installed on the same machine. The attached patch removes the openoffice-4 --with-system-saxon and --with-saxon-jar configure options so that it will use a private copy of saxon and remove the conflict.
Auto-assigned to maintainer office@FreeBSD.org
Comment on attachment 147471 [details] patch to tweak openoffice-4 to use private copy of saxon The change looks good. For the record: We always have had a conflict there. The latest free versions of saxon (-he) removed some features that OpenOffice needs. Scilab was using an even older version but it doesn't use the specific features that OpenOffice requires. The version of saxon in OpenOffice is also somewhat older than saxon-devel but it was specially prepared by the upstream developer for OpenOffice.
Prior to the upgrade to 5.5.0 in r367295, scilab extracted saxon.jar from the saxon 6.5.5 distfile, so it didn't use the saxon port, avoiding the conflict. That dates back to my change in r298046 to remedy the conflict back in the days of openoffice 3.4.
A commit references this bug: Author: truckman Date: Mon Jan 19 00:57:32 UTC 2015 New revision: 377375 URL: https://svnweb.freebsd.org/changeset/ports/377375 Log: The editors/openoffice-4 port currently depends on textproc/saxon-devel and relies on features that are only present in this version of saxon. The recent update to math/scilab added a dependency to textproc/saxon-he, and it requires features that are only present in this version. Unfortunately saxon-devel and saxon-he conflict because they both want to install /usr/local/share/java/classes/saxon9-xqj.jar, which means that openoffice-4 and scilab can't both be installed on the same machine. Avoid this problem by tweaking openoffice-4 use a private copy of saxon. This requires a new version of the ext_sources tarball. Bump PORTREVISION so that users pick up the updated port. Modernize MASTER_SITES syntax and update MASTER_SITE for unowinreg.dll. Update comment to take de facto mainternship. PR: 193776 Differential Revision: https://reviews.freebsd.org/D1553 Reviewed by: bapt, pfg Approved by: mat (mentor) Changes: head/editors/openoffice-4/Makefile head/editors/openoffice-4/distinfo