mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
pkgbase: put library links and symlinks in the -dev package
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 Reviewed by: emaste, manu Differential Revision: https://reviews.freebsd.org/D41841
This commit is contained in:
parent
e806976349
commit
4e899378bf
|
@ -561,6 +561,7 @@ LINKGRP?= ${LIBGRP}
|
|||
LINKMODE?= ${LIBMODE}
|
||||
SYMLINKOWN?= ${LIBOWN}
|
||||
SYMLINKGRP?= ${LIBGRP}
|
||||
LINKTAGS= dev
|
||||
.include <bsd.links.mk>
|
||||
|
||||
.if ${MK_MAN} != "no" && !defined(LIBRARIES_ONLY)
|
||||
|
|
|
@ -14,8 +14,16 @@ afterinstall: _installlinks
|
|||
.ORDER: realinstall _installlinks
|
||||
_installlinks:
|
||||
.for s t in ${LINKS}
|
||||
.if defined(LINKTAGS)
|
||||
${INSTALL_LINK} ${TAG_ARGS:D${TAG_ARGS},${LINKTAGS}} ${DESTDIR}${s} ${DESTDIR}${t}
|
||||
.else
|
||||
${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${s} ${DESTDIR}${t}
|
||||
.endif
|
||||
.endfor
|
||||
.for s t in ${SYMLINKS}
|
||||
.if defined(LINKTAGS)
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},${LINKTAGS}} ${s} ${DESTDIR}${t}
|
||||
.else
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ${s} ${DESTDIR}${t}
|
||||
.endif
|
||||
.endfor
|
||||
|
|
Loading…
Reference in a new issue