svn commit: r289244 - stable/9/gnu/usr.bin/binutils/ld

Bryan Drewery bdrewery at FreeBSD.org
Tue Oct 13 18:35:00 UTC 2015


Author: bdrewery
Date: Tue Oct 13 18:34:58 2015
New Revision: 289244
URL: https://svnweb.freebsd.org/changeset/base/289244

Log:
  MFC r287983,r288075:
  
    r287983:
      Replace afterinstall: hack with FILES mechanism.
    r288075:
      Use SHAREOWN/SHAREMODE/SHAREGRP rather than LIB* as these are plain ASCII
      scripts that the linker can load rather than binary library objects.

Modified:
  stable/9/gnu/usr.bin/binutils/ld/Makefile
Directory Properties:
  stable/9/gnu/usr.bin/binutils/   (props changed)

Modified: stable/9/gnu/usr.bin/binutils/ld/Makefile
==============================================================================
--- stable/9/gnu/usr.bin/binutils/ld/Makefile	Tue Oct 13 18:34:22 2015	(r289243)
+++ stable/9/gnu/usr.bin/binutils/ld/Makefile	Tue Oct 13 18:34:58 2015	(r289244)
@@ -45,6 +45,9 @@ LDADD=	${DPADD}
 CLEANDIRS+=	ldscripts
 CLEANFILES+=	ldemul-list.h stringify.sed
 
+FILES=		${LDSCRIPTS:S|^|ldscripts/|}
+FILESDIR=	${SCRIPTDIR}
+
 HOST=		${TARGET_TUPLE}
 LIBSEARCHPATH=	\"${TOOLS_PREFIX}/lib\":\"${TOOLS_PREFIX}/usr/lib\"
 .for ext in ${ELF_SCR_EXT}
@@ -66,8 +69,4 @@ ldemul-list.h:
 stringify.sed:
 	ln -sf ${SRCDIR}/ld/emultempl/astring.sed ${.TARGET}
 
-afterinstall:
-	${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-	    ${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}
-
 .include <bsd.prog.mk>


More information about the svn-src-stable-9 mailing list