components/apr-util/patches/makefile-out.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Tue, 19 Jun 2012 02:04:06 -0700
branchs11-sru
changeset 2292 7fe16a6a2bde
parent 203 887f23af6934
child 1040 a4dc3ecab65b
permissions -rw-r--r--
7155867 *proftpd* does not work in multibyte locale other than UTF-8

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