diff options
author | ru <ru@FreeBSD.org> | 2002-07-12 14:49:25 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-12 14:49:25 +0000 |
commit | 1713155fc2075a7da02548a5473e7e58550ea491 (patch) | |
tree | 12daa3fc03c4bbd387eb8cd8b5cde4bce12af190 /usr.bin/tip | |
parent | 61a0df7650ded56ffa86a42f863248bfd0e3aa15 (diff) | |
download | FreeBSD-src-1713155fc2075a7da02548a5473e7e58550ea491.zip FreeBSD-src-1713155fc2075a7da02548a5473e7e58550ea491.tar.gz |
Make dirty, rotten hack really work. As of rev. 1.16, ${BINDIR}
is only defined after <bsd.prog.mk> is included, and .if make(1)
conditionals are evaluted on the first pass.
Spotted by: Michael Bretterklieber <mbretter@jawa.at>
Diffstat (limited to 'usr.bin/tip')
-rw-r--r-- | usr.bin/tip/tip/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tip/tip/Makefile b/usr.bin/tip/tip/Makefile index 4d08ca3..232a79a 100644 --- a/usr.bin/tip/tip/Makefile +++ b/usr.bin/tip/tip/Makefile @@ -48,11 +48,11 @@ SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \ # -- log.o depends on the Makefile because of ACULOG acutab.o log.o remote.o: Makefile +.include <bsd.prog.mk> + # Dirty, rotten hack. This can be removed when we are confident that there # is no cu(1) with the schg-bit set. beforeinstall: .if exists(${DESTDIR}${BINDIR}/cu) -@chflags noschg ${DESTDIR}${BINDIR}/cu .endif - -.include <bsd.prog.mk> |