summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-17 11:58:14 +0000
committerru <ru@FreeBSD.org>2001-09-17 11:58:14 +0000
commit84ac5b97df77e28fbf9b52e4127c03b72847c234 (patch)
treefb0e0282e9323cda3860abf077ee5baa2241feae /usr.bin/xinstall/Makefile
parenta313983325f1a6ebe60f1669d0582e566204443c (diff)
downloadFreeBSD-src-84ac5b97df77e28fbf9b52e4127c03b72847c234.zip
FreeBSD-src-84ac5b97df77e28fbf9b52e4127c03b72847c234.tar.gz
When bootstrapping install(1), libc may not have the strtofflags(3) support.
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 e6ff88e..e0886ed 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>
OpenPOWER on IntegriCloud