Files
pkgsrc-ng/graphics/exiv2/patches/patch-aa
2016-11-18 22:39:22 +01:00

16 lines
659 B
Plaintext

$NetBSD: patch-aa,v 1.5 2015/10/03 12:08:37 bsiegert Exp $
Fix build on Solaris, from PR 37720.
--- config/config.mk.in.orig 2015-06-21 16:19:25.000000000 +0200
+++ config/config.mk.in 2015-10-02 05:22:11.000000000 +0200
@@ -148,7 +148,7 @@
# 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