summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libdap/files/patch-tests-Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libdap/files/patch-tests-Makefile.in b/devel/libdap/files/patch-tests-Makefile.in
new file mode 100644
index 000000000000..d5d1f13748b4
--- /dev/null
+++ b/devel/libdap/files/patch-tests-Makefile.in
@@ -0,0 +1,11 @@
+--- tests/Makefile.in.orig 2014-04-25 02:36:57.000000000 +0800
++++ tests/Makefile.in 2014-04-29 09:42:04.506722750 +0800
+@@ -868,7 +868,7 @@
+ if test -f $$p; then \
+ $(am__strip_dir) \
+ echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \
+- ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \
++ ( cd "$(DESTDIR)$(libdir)" && chmod u+w $$f && $(RANLIB) $$f && chmod u-w $$f) || exit $$?; \
+ else :; fi; \
+ done
+