Wrap the creation of the ../include link in /usr/lib in

!defined(LIBRARIES_ONLY) so it is only created once on architectures
with 32-bit compat support.

Replace ln -fhs with ${INSTALL_SYMLINK} to the link is logged in the
METALOG.
This commit is contained in:
Brooks Davis 2013-04-30 18:14:22 +00:00
parent 016cfca070
commit 7be2362060

View File

@ -252,7 +252,9 @@ _libusbhid= libusbhid
_libusb= libusb
.endif
.if !defined(LIBRARIES_ONLY)
afterinstall:
ln -hfs ../include ${DESTDIR}/usr/lib/include
${INSTALL_SYMLINK} ../include ${DESTDIR}/usr/lib/include
.endif
.include <bsd.subdir.mk>