apr/apr-1.4.4-top_builddir.patch

12 lines
550 B
Diff

--- a/Makefile.in.orig 2008-05-03 03:04:46.000000000 +1000
+++ b/Makefile.in 2011-05-10 12:42:31.428378451 +1000
@@ -66,7 +66,7 @@
# Create apr_rules.mk suitable for the install tree
build/apr_rules.out: build/apr_rules.mk
- sed 's,^\(apr_build.*=\).*$$,\1$(installbuilddir),' < build/apr_rules.mk > $@
+ sed -e 's,^\(apr_build.*=\).*$$,\1$(installbuilddir),' -e 's,^\(top_build.*=\).*$$,\1$(installbuilddir),' < build/apr_rules.mk > $@
install: $(TARGETS)
$(APR_MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(installbuilddir) \