blob: ea5cc533853a06b899a4260db37b3d426b5afd58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.4 2014/06/05 06:43:54 adam Exp $
Fix build on Solaris, from PR 37720.
--- config/config.mk.in.orig 2013-12-01 12:13:42.000000000 +0000
+++ config/config.mk.in
@@ -133,7 +133,7 @@ ifdef DEP_TRACKING
# Dependency files post-process commands
POSTDEPEND = if test ! -d $(DEPDIR); then mkdir $(DEPDIR); fi; \
- if test -e $*.d; then cp $*.d $(DEPDIR)/$*.d; \
+ if test -f $*.d; then cp $*.d $(DEPDIR)/$*.d; \
sed -e 's/^\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $(DEPDIR)/$*.d; \
$(RM) $*.d; fi
|