Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 18:14:23 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250112 - head/lib
Message-ID:  <201304301814.r3UIENr0044105@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304301814.r3UIENr0044105>