Blame patches/apr-util-1.6.0.local.patch

Lucio Andrés Illanes Albornoz 1fc456
--- apr-util-1.6.0/configure.orig	2017-05-04 01:16:59.000000000 +0200
Lucio Andrés Illanes Albornoz 1fc456
+++ apr-util-1.6.0/configure	2017-08-03 16:28:21.653082936 +0200
Lucio Andrés Illanes Albornoz 1fc456
@@ -20794,10 +20794,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
       if test "$apu_have_sqlite3" = "1"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
   if test "x$LDADD_dbd_sqlite3" = "x"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
-    test "x$silent" != "xyes" && echo "  setting LDADD_dbd_sqlite3 to \"$sqlite3_LDFLAGS -lsqlite3\""
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
-    LDADD_dbd_sqlite3="$sqlite3_LDFLAGS -lsqlite3"
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
+    test "x$silent" != "xyes" && echo "  setting LDADD_dbd_sqlite3 to \"$sqlite3_LDFLAGS -lsqlite3 -lapr-1 -L/home/vxp/midipix/nt64/debug/tmp/apr-util-1.5.4/.libs -laprutil-1\""
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
+    LDADD_dbd_sqlite3="$sqlite3_LDFLAGS -lsqlite3 -lapr-1 -L/home/vxp/midipix/nt64/debug/tmp/apr-util-1.5.4/.libs -laprutil-1"
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
   else
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
-    apr_addto_bugger="$sqlite3_LDFLAGS -lsqlite3"
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
+    apr_addto_bugger="$sqlite3_LDFLAGS -lsqlite3 -lapr-1 -L/home/vxp/midipix/nt64/debug/tmp/apr-util-1.5.4/.libs -laprutil-1"
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
     for i in $apr_addto_bugger; do
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
       apr_addto_duplicate="0"
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
       for j in $LDADD_dbd_sqlite3; do
Lucio Andrés Illanes Albornoz 1fc456
--- apr-util-1.6.0/Makefile.in.orig	2017-05-04 01:18:52.000000000 +0200
Lucio Andrés Illanes Albornoz 1fc456
+++ apr-util-1.6.0/Makefile.in	2017-08-03 16:28:21.653082936 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
@@ -23,7 +23,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 INSTALL_DATA = @INSTALL_DATA@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 APU_MODULES = @APU_MODULES@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
-LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APRUTIL_MAJOR_VERSION) -module -rpath $(APU_DSO_LIBDIR)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
+LINK_MODULE = slibtool $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APRUTIL_MAJOR_VERSION) -module -rpath $(APU_DSO_LIBDIR)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 APU_DSO_LIBDIR = @APU_DSO_LIBDIR@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 LT_VERSION = @APU_LTVERSION@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
@@ -85,7 +85,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 	list='$(INSTALL_SUBDIRS)'; for i in $$list; do \
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 		( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 	done
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
-	$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
+	slibtool --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 	$(INSTALL_DATA) aprutil.exp $(DESTDIR)$(libdir)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 	$(INSTALL) -m 755 apu-config.out $(DESTDIR)$(bindir)/$(APU_CONFIG)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
@@ -98,7 +98,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 install-modules-yes: $(APU_MODULES)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 	$(APR_MKDIR) $(DESTDIR)$(APU_DSO_LIBDIR)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
-	@for m in $(APU_MODULES); do $(LIBTOOL) $(LT_LTFLAGS) $(LTFLAGS) --mode=install $(INSTALL) -m 755 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
+	@for m in $(APU_MODULES); do slibtool $(LT_LTFLAGS) $(LTFLAGS) --mode=install $(INSTALL) -m 756 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 exports.c: $(HEADERS)
Lucio Andrés Illanes Albornoz (arab, vxp) 2bee8f
 	$(APR_MKEXPORT) $(HEADERS) > $@