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>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to