bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile-tools.in patch


From: Francesco Salvestrini
Subject: guile-tools.in patch
Date: Mon, 14 Jun 2004 11:40:46 +0200
User-agent: KMail/1.6.2

Hi,

The guile-tools script shipped with guile-1.6.4 gives me an error while i try 
to run it using the default scripts directories.

The scripts are installed in their subpkgdatadir (that is 
$(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)/scripts , in scripts/Makefile.am) 
while the guile-tools script uses the default_scriptsdir (that is: 
$pkgdatadir/$guileversion/scripts , in guile-tools.in).

The following patch fixes the problem.

Ciao,
Francesco

--- guile-tools.in.original     2002-12-07 23:41:28.000000000 +0100
+++ guile-tools.in.patched      2004-06-14 10:08:12.000000000 +0200
@@ -45,7 +45,8 @@
 prefix="@prefix@"
 pkgdatadir="@datadir@/@PACKAGE@"
 guileversion="@GUILE_VERSION@"
-default_scriptsdir=$pkgdatadir/$guileversion/scripts
+guileeffectiveversion="@GUILE_EFFECTIVE_VERSION@"
+default_scriptsdir=$pkgdatadir/$guileeffectiveversion/scripts
 
 # pre-install invocation frob
 mydir=`dirname $0`



-- 
Simon's Law:
        Everything put together falls apart sooner or later.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]