summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/tar/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/tar/Makefile.inc')
-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 4d05b96..42dcec2 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
OpenPOWER on IntegriCloud