Page MenuHomeFreeBSD

Add LOCALBASE-based ldconfig dir to plist for non-default PREFIX
ClosedPublic

Authored by AMDmi3 on Oct 5 2015, 5:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 31, 3:51 AM
Unknown Object (File)
Fri, Jul 31, 3:50 AM
Unknown Object (File)
Thu, Jul 30, 3:46 AM
Unknown Object (File)
Jun 18 2026, 6:53 AM
Unknown Object (File)
May 18 2026, 3:29 AM
Unknown Object (File)
May 18 2026, 3:24 AM
Unknown Object (File)
May 17 2026, 11:28 PM
Unknown Object (File)
May 17 2026, 11:23 PM
Subscribers
None

Details

Summary

install-ldconfig-file target creates ${LOCALBASE}/${LDCONFIG_DIR} directory (which is usually /usr/local/libdata/ldconfig). It's in mtree for PREFIX == LOCALBASE case, but not for PREFIX != LOCALBASE, for which case it should be explicitly added to plist. This change fixes stage-qa for cad/brlcad and biology/emboss.

http://poudriere.amdmi3.ru/data/10-amd64-default/all_2015_08_11/logs/errors/emboss-6.6.0_2.log
http://poudriere.amdmi3.ru/data/10-amd64-default/all_2015_08_11/logs/errors/brlcad-7.24.0_3.log

While here, add indentation to make conditionals for more readability, end replace empty .if defined(USE_LINUX_PREFIX) ... .else block with .if !defined(USE_LINUX_PREFIX)

Test Plan

Confirmed to fix brlcad and emboss stage-qa

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

AMDmi3 retitled this revision from to Add LOCALBASE-based ldconfig dir to plist for non-default PREFIX.
AMDmi3 updated this object.
AMDmi3 edited the test plan for this revision. (Show Details)
bapt added a reviewer: bapt.
This revision is now accepted and ready to land.Oct 8 2015, 12:39 PM