freebsd-ports/devel/apr2/files/patch-buildconf
Philip M. Gollucci a6fd705b84 - Update to 2.0.0.20100527031346
- Not for general public only for early testers / developers

PR:             ports/147113
Submitted by:   pgollucci@ (myself)
With Hat:       apache@
2010-06-01 22:35:25 +00:00

18 lines
655 B
Text

--- ./buildconf.orig 2009-11-13 22:13:59.000000000 -0500
+++ ./buildconf 2010-05-26 23:19:19.245814435 -0400
@@ -69,6 +69,7 @@
fi
# Do we need this anymore?
echo "buildconf: Using libtool.m4 at ${ltfile}."
+ chmod 644 build/libtool.m4
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
fi
if test "$1" = "2"; then
@@ -76,6 +77,7 @@
# Wouldn't it just be better to define top_builddir??
mv build/libtool.m4 build/libtool.m4.$$
cat build/libtool.m4.$$ | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
+ chmod 644 build/libtool.m4.$$
rm build/libtool.m4.$$
fi