diff options
-rw-r--r-- | gnu/usr.bin/tar/Makefile.inc | 8 |
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 |