summaryrefslogtreecommitdiffstats
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-04-12 07:09:18 +0000
committerpeter <peter@FreeBSD.org>1997-04-12 07:09:18 +0000
commit72e320024dc8958b44e18ef45f4fabcb97d44e8e (patch)
tree379fc96e60bc479410eb6e2583b2800d156f4744 /usr.bin/Makefile
parent83c5ef7b0d509e8ffb3fcce33f055f8eb3ddcd9f (diff)
downloadFreeBSD-src-72e320024dc8958b44e18ef45f4fabcb97d44e8e.zip
FreeBSD-src-72e320024dc8958b44e18ef45f4fabcb97d44e8e.tar.gz
Make tclsh conditional on the src/contrib/tcl directory existing, and
allow it to be disabled via NOTCL in /etc/make.conf (similar to other stuff in src/Makefile, eg: NOGAMES)
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 40cfc01..c2f4466 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.3 (Berkeley) 1/7/94
-# $Id: Makefile,v 1.80 1997/02/22 19:53:59 peter Exp $
+# $Id: Makefile,v 1.81 1997/03/23 18:59:47 joerg Exp $
# XXX MISSING: deroff diction graph learn plot
# spell spline struct units xsend
@@ -20,13 +20,18 @@ SUBDIR= apply ar at banner basename biff brandelf cal calendar \
printf quota ranlib rdist renice rev rlogin rpcgen \
rpcinfo rs rsh rup ruptime rusers rwall \
rwho script sed sgmlfmt sgmls shar showmount size soelim split \
- strings strip su symorder talk tclsh tconv tcopy tee tftp time \
+ strings strip su symorder talk tconv tcopy tee tftp time \
tip tn3270 top touch tput tr true tset tsort tty ul uname \
unexpand unifdef uniq units unvis users uudecode uuencode vacation \
vgrind vi vis w wall wc what whereis which who whois window \
write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
SUBDIR+=gprof4
+.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
+ exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
+SUBDIR+=tclsh
+.endif
+
.if !exists(../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
SUBDIR+=telnet
.else
OpenPOWER on IntegriCloud