From 3adbeacc6651fc9255352380045f244602fd3673 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 19 Sep 2015 03:53:37 +0000 Subject: [PATCH] Replace afterinstall: hack with FILES mechanism. Sponsored by: EMC / Isilon Storage Division --- gnu/usr.bin/binutils/ld/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index d0946f338f2e..f6379e2eb704 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -45,6 +45,12 @@ LDADD= ${DPADD} CLEANDIRS+= ldscripts CLEANFILES+= ldemul-list.h stringify.sed +FILES= ${LDSCRIPTS:S|^|ldscripts/|} +FILESOWN= ${LIBOWN} +FILESGRP= ${LIBGRP} +FILESMODE= ${LIBMODE} +FILESDIR= ${SCRIPTDIR} + HOST= ${TARGET_TUPLE} LIBSEARCHPATH= \"${TOOLS_PREFIX}/lib\":\"${TOOLS_PREFIX}/usr/lib\" ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw @@ -66,10 +72,6 @@ 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} - GENDIRDEPS_FILTER.host+= Nusr.bin/yacc .include