summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-06-09 21:57:34 +0000
committerjilles <jilles@FreeBSD.org>2016-06-09 21:57:34 +0000
commitf2916effb327c8dff2584e6b5b775387a67ebf47 (patch)
treece5fb651e3647bbcbb5e7528ba715e2412bd1056 /Makefile.inc1
parent11745a27b1c88a43294771a37db0f7d644d84653 (diff)
downloadFreeBSD-src-f2916effb327c8dff2584e6b5b775387a67ebf47.zip
FreeBSD-src-f2916effb327c8dff2584e6b5b775387a67ebf47.tar.gz
build: Add legacy support for futimens() and utimensat().
In order to allow using utimensat() in install(1), add futimens() and utimensat() to -legacy. The files futimens.c and utimensat.c are modified copies of the files under lib/libc/sys/ since the libc versions use symbols that do not exist in the libc on the build system (sys_futimens and sys_utimensat) . I expect the next non-sweeping change to both sets of files to be to delete them, anyway. This will allow reverting r299942 (which is a revert of r299850) enabling nanosecond timestamps in install(1). Reviewed by: bdrewery
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index dd17644..0daa440 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -646,6 +646,8 @@ _worldtmp: .PHONY
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.groff.dist \
-p ${WORLDTMP}/legacy/usr >/dev/null
.endif
+ mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
+ -p ${WORLDTMP}/legacy/usr/include >/dev/null
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
-p ${WORLDTMP}/usr >/dev/null
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
OpenPOWER on IntegriCloud