Page MenuHomeFreeBSD

math/cddlib: Improve .so installation handling
AbandonedPublic

Authored by fernape on Oct 15 2018, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2024, 5:54 PM
Unknown Object (File)
Jan 1 2024, 1:16 AM
Unknown Object (File)
Nov 14 2023, 9:40 PM
Unknown Object (File)
Nov 13 2023, 4:36 PM
Unknown Object (File)
Nov 4 2023, 12:32 PM
Unknown Object (File)
Oct 8 2023, 3:43 PM
Unknown Object (File)
Oct 3 2023, 11:58 AM
Unknown Object (File)
May 14 2023, 6:38 AM
Subscribers
None

Details

Reviewers
tcberner
tz
mat
Summary

The current state of the port doesn't seem fine since it used COPYTREE_SHARE to
copy the .so objects without having a proper hierarchy to traverse.

My doubt is: if I try INSTALL_LIB *.so* as in the example in this review, I don't get
the same package result since now, some of the files are not soft links anymore.

I tried to find an example in the handbook but couldn't find one. Should I just
INSTALL_LIB the two _true_ .so objects and then LN the soft links? (something
similar to what archivers/zopfli does?)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 20217
Build 19697: arc lint + arc unit

Event Timeline

Well, then, change to a INSTALL_DATA and only strip the actual elf files.

Well, then, change to a INSTALL_DATA and only strip the actual elf files.

INSTALL_DATA does not preserve the soft links either :S

The two more reasonable options to me are:

  • COPYTREE_SHARE and STRIP_CMD in do-install
  • INSTALL_LIB the .so files and generate the soft links