summaryrefslogtreecommitdiff
path: root/devel/apr2/files/patch-buildconf
blob: 7261d3eda3ce941d68c64493f9db105ecb8ed04c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- buildconf.orig	2015-01-02 17:14:31 UTC
+++ buildconf
@@ -81,6 +81,7 @@ if test "$1" = "1"; then
   fi
   # Do we need this anymore?
   echo "buildconf: Using libtool.m4 at ${ltfile}."
+  chmod 644 build/libtool.m4
   rm -f build/libtool.m4
   cp -p $ltfile build/libtool.m4
 
@@ -94,9 +95,12 @@ fi
 # Not sure, would it interfere with httpd top_builddir when bundled?
 mv build/libtool.m4 build/libtool.m4.$$
 sed -e 's/\(LIBTOOL=.*\)top_build/\1apr_build/' < build/libtool.m4.$$ > build/libtool.m4
+chmod 644 build/libtool.m4.$$
 rm -f build/libtool.m4.$$
 
 # Clean up any leftovers
+chmod 644 aclocal.m4
+chmod 644 libtool.m4
 rm -f aclocal.m4 libtool.m4
 
 #