Bryan Drewery <bdrew...@freebsd.org> wrote in <201509190353.t8j3rbre067...@repo.freebsd.org>:
bd> Author: bdrewery bd> Date: Sat Sep 19 03:53:37 2015 bd> New Revision: 287983 bd> URL: https://svnweb.freebsd.org/changeset/base/287983 bd> bd> Log: bd> Replace afterinstall: hack with FILES mechanism. bd> bd> Sponsored by: EMC / Isilon Storage Division bd> bd> Modified: bd> head/gnu/usr.bin/binutils/ld/Makefile bd> bd> Modified: head/gnu/usr.bin/binutils/ld/Makefile bd> ============================================================================== bd> --- head/gnu/usr.bin/binutils/ld/Makefile Sat Sep 19 03:51:19 2015 (r287982) bd> +++ head/gnu/usr.bin/binutils/ld/Makefile Sat Sep 19 03:53:37 2015 (r287983) bd> @@ -45,6 +45,12 @@ LDADD= ${DPADD} bd> CLEANDIRS+= ldscripts bd> CLEANFILES+= ldemul-list.h stringify.sed bd> bd> +FILES= ${LDSCRIPTS:S|^|ldscripts/|} bd> +FILESOWN= ${LIBOWN} bd> +FILESGRP= ${LIBGRP} bd> +FILESMODE= ${LIBMODE} bd> +FILESDIR= ${SCRIPTDIR} bd> + I think LIB{OWN,GRP,MODE} for ldscripts can also be removed because they are not library and the default values for FILES (SHARE{OWN,GRP,MODE}) look reasonable. -- Hiroki
pgp66Soh0OQcP.pgp
Description: PGP signature