aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-06-04 11:28:09 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-06-04 11:28:09 +0000
commit41965b2932f0807a6c1ca2fd23c939049dd40a27 (patch)
treef36c84c5960098cbe78c0b1c515921320f67072f
parent0d041c5ae87e251d95bd34a479fb1a897cd5ecf2 (diff)
Notes
-rw-r--r--gnu/usr.bin/tar/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/tar/Makefile.inc b/gnu/usr.bin/tar/Makefile.inc
index 4d05b960f476..42dcec242f46 100644
--- a/gnu/usr.bin/tar/Makefile.inc
+++ b/gnu/usr.bin/tar/Makefile.inc
@@ -2,3 +2,11 @@
TARDIR= ${.CURDIR}/../../../../contrib/tar
TARCFLAGS= -DHAVE_CONFIG_H -I${.CURDIR}/.. -I${TARDIR}/lib
+
+# Inherit BINDIR from one level up.
+.if !target(__foobar__)
+__foobar__:
+.if exists(../Makefile.inc)
+.include "../Makefile.inc"
+.endif
+.endif