Hi,
I just run into an issue with the new apr_rules.mk
The new top_builddir variable is not replaced like apr_build(dir|ers)
variable. This make breaks for example the tomcat-native build, since
the var LIBTOOL points to the real build location of apr.
without patch:
top_builddir=/work/a/ports/devel/apr1/work/apr-1.4.4
with patch:
top_builddir=/usr/local/share/apr/build-1
The following patch fix tis issue.
olli
--- ./apr-1.4.4/Makefile.in.orig
+++ ./apr-1.4.4/Makefile.in
@@ -66,7 +66,8 @@
# 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) \