summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-12-03 16:28:56 +0000
committerache <ache@FreeBSD.org>2000-12-03 16:28:56 +0000
commitfe7e532f137c892d5df8da7722482478da9e0bae (patch)
tree6dbaef7314932a935390e92b375b01992f456e3f /bin/csh
parent592552d751a7b099eb1062ad9e92a5ec4d1302ca (diff)
downloadFreeBSD-src-fe7e532f137c892d5df8da7722482478da9e0bae.zip
FreeBSD-src-fe7e532f137c892d5df8da7722482478da9e0bae.tar.gz
Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path
Add gethost to build-tools to help cross-building
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 1e15c0e..d375037 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -11,7 +11,7 @@ TCSHDIR= ${.CURDIR}/../../contrib/tcsh
PROG= csh
SUBDIR= nls
-DFLAGS= -D_PATH_TCSHELL='"${DESTDIR}/bin/${PROG}"'
+DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
CFLAGS+= -I${TCSHDIR} -I${.CURDIR} -I. ${DFLAGS}
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
@@ -45,6 +45,8 @@ CLEANFILES= ${GENHDRS} gethost csh.1
csh.1: tcsh.man
ln -sf ${.ALLSRC} ${.TARGET}
+build-tools: gethost
+
gethost: gethost.c sh.err.h tc.const.h sh.h
@rm -f ${.TARGET}
${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${TCSHDIR}/gethost.c
OpenPOWER on IntegriCloud