From 78d9939f551643454b56774bae6d56bed421e1af Mon Sep 17 00:00:00 2001
From: Anthony Fok <foka@debian.org>
Date: Sun, 29 Jan 2017 00:27:41 -0700
Subject: [PATCH] Use real guile binary instead of libtool wrapper in
 guile-config

Fix FTBFS (introduced by me in 2.18.2-5) on kfreebsd-{amd64,i386}.
---
 ...100-guile-config-link-static-libguile.a-for-lilypond.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/0100-guile-config-link-static-libguile.a-for-lilypond.patch b/debian/patches/0100-guile-config-link-static-libguile.a-for-lilypond.patch
index 86e5227132..b0f2a6557c 100644
--- a/debian/patches/0100-guile-config-link-static-libguile.a-for-lilypond.patch
+++ b/debian/patches/0100-guile-config-link-static-libguile.a-for-lilypond.patch
@@ -7,7 +7,7 @@ Author: Anthony Fok <foka@debian.org>
 Origin: vendor
 Bug-Debian: https://bugs.debian.org/746005
 Forwarded: not-needed
-Last-Update: 2017-01-23
+Last-Update: 2017-01-29
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/guile18/guile-config/guile-config.in
@@ -36,7 +36,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  	rm -f guile-config.tmp
  	sed < ${srcdir}/guile-config.in > guile-config.tmp \
 -	    -e 's|@-bindir-@|${bindir}|' \
-+	    -e 's|@-bindir-@|${abs_top_builddir}/libguile|' \
++	    -e 's|@-bindir-@|$(dir ${abs_top_builddir})out/guile${bindir}|' \
  	    -e s:@-GUILE_VERSION-@:${GUILE_VERSION}:
  	chmod +x guile-config.tmp
  	mv guile-config.tmp guile-config
-- 
2.39.5