summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-02-26 23:20:10 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-02-26 23:20:10 +0000
commit0980caf195111b6eadb5fc7a50ddc0675fd904fb (patch)
tree132902d2f65804f0a4a4bfd3cf1a02ec410d62fd
parenta7210c202c0b9b6e8955555be6bb64d9d16b9baf (diff)
Use mkdir -p instead of install -d to create the obj/util directory.
The latter defaults to 755, which doesn't play nicely with BUILDUSER. Problem reported by jmc and Jan Stary; tested by myself and jmc. ok ajacoutot
-rw-r--r--usr.sbin/unbound/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/unbound/Makefile.in b/usr.sbin/unbound/Makefile.in
index 3c2de971cb9..d38254116f9 100644
--- a/usr.sbin/unbound/Makefile.in
+++ b/usr.sbin/unbound/Makefile.in
@@ -408,7 +408,7 @@ _unbound.la: libunbound_wrap.lo libunbound.la
util/config_file.c: util/configparser.h
util/configlexer.c: $(srcdir)/util/configlexer.lex util/configparser.h
- @-if test ! -d util; then $(INSTALL) -d util; fi
+ @-if test ! -d util; then mkdir -p util; fi
if test "$(LEX)" != ":"; then \
echo "#include \"config.h\"" > $@ ;\
echo "#include \"util/configyyrename.h\"" >> $@ ;\
@@ -416,7 +416,7 @@ util/configlexer.c: $(srcdir)/util/configlexer.lex util/configparser.h
fi
util/configparser.c util/configparser.h: $(srcdir)/util/configparser.y
- @-if test ! -d util; then $(INSTALL) -d util; fi
+ @-if test ! -d util; then mkdir -p util; fi
$(YACC) -d -o util/configparser.c $(srcdir)/util/configparser.y
clean: