Bug 254122

Summary: [PATCH] editors/libreoffice: fix build after box2d 2.4.1 update
Product: Ports & Packages Reporter: Jonathan Chen <jonc>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed FIXED    
Severity: Affects Only Me CC: fluffy, pi
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix build after boxd-2.4.1 update none

Description Jonathan Chen 2021-03-08 04:35:06 UTC
Created attachment 223083 [details]
fix build after boxd-2.4.1 update

editors/libreoffice is currently failing to build with:
===>   libreoffice-7.1.0.3_2 depends on shared library:
libboost_date_time.so - found (/usr/local/lib/libboost_date_time.so)
===>   Returning to build of libreoffice-7.1.0.3_2
===>   libreoffice-7.1.0.3_2 depends on shared library: libBox2D.so - not found
===>   Installing existing package /packages/All/Box2D-2.4.1.txz
Installing Box2D-2.4.1...
Extracting Box2D-2.4.1: .......... done
===>   libreoffice-7.1.0.3_2 depends on shared library: libBox2D.so - not found
*** Error code 1

Stop.
make: stopped in /xports/editors/libreoffice

A quick look at Box2D reveals that with the update to 2.4.1, the
shared library name has been renamed to libbox2d.so (all in lower
case):

Attached is a patch that fixes the build.
Comment 1 Dima Panov freebsd_committer 2021-03-08 11:27:30 UTC
Fixed in r567837

https://svnweb.freebsd.org/changeset/ports/567837 

Quarterly branch is not touched 'cause box2d is not MFH'ed yes
Comment 2 Jonathan Chen 2021-03-08 20:10:47 UTC
Can someone please explain to me how an update to devel/zziplib fixes the problem with devel/box2d shared-lib naming?
Comment 3 Jonathan Chen 2021-03-08 20:15:45 UTC
In fact, I see that other box2d dependencies are being updated to reflect the shared-lib name change, eg: py-box2d-py https://svnweb.freebsd.org/changeset/ports/567853

I'm reopening this PR.
Comment 4 Jonathan Chen 2021-03-09 01:25:02 UTC
After looking at the tree, I see that the commit to fix was at https://svnweb.freebsd.org/changeset/ports/567836

Closing PR.