components/apr-util/patches/makefile-out.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 203 887f23af6934
child 1040 a4dc3ecab65b
permissions -rw-r--r--
Close of build 04.

--- Makefile.in.orig	Mon Apr 18 02:03:58 2011
+++ Makefile.in	Mon Apr 18 02:09:09 2011
@@ -71,7 +71,10 @@
 
 # Create apu-config script suitable for the install tree
 apu-config.out: $(APU_CONFIG)
-	sed 's,^\(location=\).*$$,\1installed,' < $(APU_CONFIG) > $@
+	sed -e 's,^\(location=\).*$$,\1installed,' \
+	    -e '/^APU_SOURCE_DIR=/s,/.*",/usr/apr-util/1.3",' \
+	    -e '/^APU_BUILD_DIR=/s,/.*",/usr/apr-util/1.3",' \
+	     < $(APU_CONFIG) > $@
 
 install: $(TARGETS) install-modules
 	$(APR_MKDIR) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir)/pkgconfig \