diff options
author | brooks <brooks@FreeBSD.org> | 2013-04-30 18:14:22 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-04-30 18:14:22 +0000 |
commit | 40860177021ccdc3eeca05f67113cbe4177925fc (patch) | |
tree | e919b765bcec69ff2ea62073ab9f75c696d3ee95 | |
parent | 6246c992189e1d486521425f9d415ad7e641b15e (diff) | |
download | FreeBSD-src-40860177021ccdc3eeca05f67113cbe4177925fc.zip FreeBSD-src-40860177021ccdc3eeca05f67113cbe4177925fc.tar.gz |
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.
-rw-r--r-- | lib/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index e8c6551..d28d55b 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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> |