File: guile_bindir.patch

package info (click to toggle)
mailutils 1%3A3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 31,424 kB
  • ctags: 17,698
  • sloc: ansic: 165,737; sh: 77,655; yacc: 6,304; cpp: 3,827; makefile: 3,019; lex: 2,053; python: 1,652; exp: 1,272; lisp: 782; awk: 200; sed: 31
file content (22 lines) | stat: -rw-r--r-- 1,184 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Jordi Mallach <jordi@debian.org>
Description: Workaround Guile's pkg-config not defining 'bindir'
 Mailutils' Guile check assumes `guile-config info bindir` is defined.
 It isn't, so for now just add '/bin' to the output of the configured
 prefix. guile-config is deprecated in favour of pkg-config, and
 actually uses pkg-config calls internally, so the optimal fix would be
 to replace the whole thing with pkg-config.
Forwarded: yes

Index: mailutils-2.99.98/configure.ac
===================================================================
--- mailutils-2.99.98.orig/configure.ac	2013-07-03 09:52:24.050630432 +0200
+++ mailutils-2.99.98/configure.ac	2013-07-03 09:55:44.946621920 +0200
@@ -1148,7 +1148,7 @@
 GINT_INIT([gint],[1.8 with-guile],
 	  [useguile=yes
  	   AC_DEFINE([WITH_GUILE],1,[Enable Guile support])
-           GUILE_BINDIR=`guile-config info bindir`
+           GUILE_BINDIR="`guile-config info prefix`/bin"
            LIBMU_SCM=../libmu_scm/libmu_scm.la
            LIBMU_SCM_DEPS='${MU_LIB_MBOX} ${MU_LIB_IMAP} ${MU_LIB_POP} ${MU_LIB_MH} ${MU_LIB_MAILDIR} ${MU_LIB_MAILER}'
            MU_GUILE_SIEVE_MOD_DIR='$(GUILE_SITE)/$(PACKAGE)/sieve-modules'