svn commit: r250112 - head/lib
Brooks Davis
brooks at FreeBSD.org
Tue Apr 30 18:14:23 UTC 2013
Author: brooks
Date: Tue Apr 30 18:14:22 2013
New Revision: 250112
URL: http://svnweb.freebsd.org/changeset/base/250112
Log:
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.
Modified:
head/lib/Makefile
Modified: head/lib/Makefile
==============================================================================
--- head/lib/Makefile Tue Apr 30 18:06:43 2013 (r250111)
+++ head/lib/Makefile Tue Apr 30 18:14:22 2013 (r250112)
@@ -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>
More information about the svn-src-head
mailing list