Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 18:32:48 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r289242 - stable/10/gnu/usr.bin/binutils/ld
Message-ID:  <201510131832.t9DIWmLg021753@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Oct 13 18:32:47 2015
New Revision: 289242
URL: https://svnweb.freebsd.org/changeset/base/289242

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/10/gnu/usr.bin/binutils/ld/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/gnu/usr.bin/binutils/ld/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/binutils/ld/Makefile	Tue Oct 13 18:31:23 2015	(r289241)
+++ stable/10/gnu/usr.bin/binutils/ld/Makefile	Tue Oct 13 18:32:47 2015	(r289242)
@@ -50,6 +50,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}
@@ -71,8 +74,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>



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