summaryrefslogtreecommitdiff
path: root/graphics/exiv2/patches
diff options
context:
space:
mode:
authordholland <dholland>2010-05-31 23:20:46 +0000
committerdholland <dholland>2010-05-31 23:20:46 +0000
commit6c8339b0ad105859b80d1480e5d714b36b4a0681 (patch)
tree35a9858640365e3a3668d57bb7cb0c867453f25d /graphics/exiv2/patches
parent6eb5e6cec9db05e1f36da3f6445a17cea052124f (diff)
downloadpkgsrc-6c8339b0ad105859b80d1480e5d714b36b4a0681.tar.gz
Fix build on Solaris; patch from the KDE-Solaris project via Joern
Clausen in PR 37720.
Diffstat (limited to 'graphics/exiv2/patches')
-rw-r--r--graphics/exiv2/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/exiv2/patches/patch-aa b/graphics/exiv2/patches/patch-aa
new file mode 100644
index 00000000000..7c79dc351b6
--- /dev/null
+++ b/graphics/exiv2/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.3 2010/05/31 23:20:46 dholland Exp $
+
+Fix build on Solaris, from PR 37720.
+
+--- config/config.mk.in~ 2009-11-27 11:39:59.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