aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-04-11 17:58:17 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-04-11 17:58:17 +0000
commit7552a592f40aa200ea48118334fcec5946c5b57d (patch)
treecc98506b878dcaef36bf3a415edfe72ebaf75762 /tools
parentd75de53699afbb898d6dff2e2994eabd1988e357 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/build/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 2dc1a27eaf8b..4bf29342970c 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -31,9 +31,9 @@ INCS+= stdbool.h
INCS+= langinfo.h
.endif
-# gnu/usr.bin/binutils/libiberty needs basename(3).
-.if ( ${BOOTSTRAPPING} < 440000 || \
- ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500022 ))
+# Some tools need basename(3).
+.if !exists(/usr/include/libgen.h)
+INCS+= libgen.h
.PATH: ${.CURDIR}/../../lib/libc/gen
SRCS+= basename.c
.endif