summaryrefslogtreecommitdiff
path: root/devel/libdap/files/patch-tests-Makefile.in
blob: d5d1f13748b4db6e3eca53a75a97ccdd90214d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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