Page MenuHomeFreeBSD

pkgbase: put library links and symlinks in the -dev package
ClosedPublic

Authored by dfr on Sep 13 2023, 10:23 AM.
Tags
None
Referenced Files
F82610385: D41841.id.diff
Tue, Apr 30, 8:41 PM
F82610379: D41841.id127365.diff
Tue, Apr 30, 8:41 PM
F82608433: D41841.id127323.diff
Tue, Apr 30, 8:28 PM
F82608335: D41841.id127320.diff
Tue, Apr 30, 8:27 PM
Unknown Object (File)
Tue, Apr 30, 6:39 PM
Unknown Object (File)
Sun, Apr 28, 8:09 PM
Unknown Object (File)
Fri, Apr 26, 3:19 PM
Unknown Object (File)
Fri, Apr 26, 5:10 AM

Details

Summary

Some libraries (e.g. ncurses) install links to the main library for
backwards compatibilty. This change ensures that those links are in the
dev package since the files being linked to are in that package.

PR: 249143
MFC after: 1 week

Test Plan

Run 'make packages', manually inspect packages to see that the symlinks are in the correct package.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dfr requested review of this revision.Sep 13 2023, 10:23 AM

I wonder if something like LINKTAGS=dev and then

.if defined(LINKTAGS)
        ${INSTALL_LINK} ${TAG_ARGS:D${TAG_ARGS},${LINKTAGS}} ${DESTDIR}${s} ${DESTDIR}${t}

is more clear?

I wonder if something like LINKTAGS=dev and then

.if defined(LINKTAGS)
        ${INSTALL_LINK} ${TAG_ARGS:D${TAG_ARGS},${LINKTAGS}} ${DESTDIR}${s} ${DESTDIR}${t}

is more clear?

I like it - I'll make that change and update the diff.

Use a new variable, LINKTAGS, to make the interface between bsd.lib.mk and bsd.links.mk clearer.

This revision is now accepted and ready to land.Sep 13 2023, 11:15 AM