components/apr-util/patches/makefile-out.patch
author Rich Burridge <rich.burridge@oracle.com>
Sat, 06 Apr 2013 08:18:24 -0700
branchs11-update
changeset 2551 0391c5c3b137
parent 203 887f23af6934
child 1040 a4dc3ecab65b
permissions -rw-r--r--
16431724 Adjust how license text and Oracle internal tracking numbers are propagated

--- 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 \