aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-09-17 11:58:14 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-09-17 11:58:14 +0000
commite08effdafa3597adfe578c5801ca3d56300878f5 (patch)
treefb0e0282e9323cda3860abf077ee5baa2241feae /usr.bin/xinstall/Makefile
parenta1e0e968b7217563746f3bd42c25956e5c0e7100 (diff)
When bootstrapping install(1), libc may not have the strtofflags(3) support.
Notes
Notes: svn path=/head/; revision=83571
Diffstat (limited to 'usr.bin/xinstall/Makefile')
-rw-r--r--usr.bin/xinstall/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile
index e6ff88e90a5b..e0886ed7afdb 100644
--- a/usr.bin/xinstall/Makefile
+++ b/usr.bin/xinstall/Makefile
@@ -3,6 +3,12 @@
PROG= xinstall
PROGNAME= install
+SRCS= xinstall.c
MAN= install.1
+.if defined(BOOTSTRAPPING)
+.PATH: ${.CURDIR}/../../lib/libc/gen
+SRCS+= strtofflags.c
+.endif
+
.include <bsd.prog.mk>