The attache aspell.patch file adds patches to fix broken configure files. The problem is that the configure author assumed that ``which ../program'' returns ``../program''.
I basically hacked the configure files to only use ``which'' in cases when the appropriate environment variables aren't set. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ When you have an efficient government, you have a dictatorship. -- Harry Truman
Index: Makefile.in --- Makefile.in.orig 2004-08-23 03:22:41 +0200 +++ Makefile.in 2004-08-27 21:46:22 +0200 @@ -425,7 +425,7 @@ target_vendor = @target_vendor@ AUTOMAKE_OPTIONS = foreign subdir-objects SUBDIRS = . po manual -DIST_SUBDIRS = ${SUBDIRS} examples myspell lib5 +DIST_SUBDIRS = ${SUBDIRS} myspell lib5 filterdir = ${pkglibdir} optdir = ${pkgdatadir} localedir = ${datadir}/locale diff -uNr ../aspell-0.60.2.orig/aspell6-de-20030222-1/configure ./aspell6-de-20030222-1/configure --- ../aspell-0.60.2.orig/aspell6-de-20030222-1/configure 2004-11-03 18:46:10.000000000 -0800 +++ ./aspell6-de-20030222-1/configure 2005-01-27 17:28:10.000000000 -0800 @@ -66,9 +66,9 @@ #echo $ASPELL if test x = "x$ASPELL" - then ASPELL=aspell; fi + then ASPELL=`which aspell`; fi if test x = "x$PREZIP" - then PREZIP=prezip-bin; fi + then PREZIP=`which prezip-bin`; fi #echo $ASPELL echo $ECHO_N "Finding Dictionary file location ... $ECHO_C" @@ -79,9 +79,9 @@ datadir=`$ASPELL dump config data-dir` echo $datadir -echo "ASPELL = `which $ASPELL`" > Makefile +echo "ASPELL = $ASPELL" > Makefile echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile -echo "PREZIP = `which $PREZIP`" >> Makefile +echo "PREZIP = $PREZIP" >> Makefile echo "DESTDIR = $DESTDIR" >> Makefile echo "dictdir = $dictdir" >> Makefile echo "datadir = $datadir" >> Makefile diff -uNr ../aspell-0.60.2.orig/aspell6-de-alt-2.1-1/configure ./aspell6-de-alt-2.1-1/configure --- ../aspell-0.60.2.orig/aspell6-de-alt-2.1-1/configure 2004-11-03 18:48:55.000000000 -0800 +++ ./aspell6-de-alt-2.1-1/configure 2005-01-27 17:28:54.000000000 -0800 @@ -66,9 +66,9 @@ #echo $ASPELL if test x = "x$ASPELL" - then ASPELL=aspell; fi + then ASPELL=`which aspell`; fi if test x = "x$PREZIP" - then PREZIP=prezip-bin; fi + then PREZIP=`which prezip-bin`; fi #echo $ASPELL echo $ECHO_N "Finding Dictionary file location ... $ECHO_C" @@ -79,9 +79,9 @@ datadir=`$ASPELL dump config data-dir` echo $datadir -echo "ASPELL = `which $ASPELL`" > Makefile +echo "ASPELL = $ASPELL" > Makefile echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile -echo "PREZIP = `which $PREZIP`" >> Makefile +echo "PREZIP = $PREZIP" >> Makefile echo "DESTDIR = $DESTDIR" >> Makefile echo "dictdir = $dictdir" >> Makefile echo "datadir = $datadir" >> Makefile diff -uNr ../aspell-0.60.2.orig/aspell6-en-6.0-0/configure ./aspell6-en-6.0-0/configure --- ../aspell-0.60.2.orig/aspell6-en-6.0-0/configure 2004-08-10 02:01:33.000000000 -0700 +++ ./aspell6-en-6.0-0/configure 2005-01-27 17:29:27.000000000 -0800 @@ -66,9 +66,9 @@ #echo $ASPELL if test x = "x$ASPELL" - then ASPELL=aspell; fi + then ASPELL=`which aspell`; fi if test x = "x$PREZIP" - then PREZIP=prezip-bin; fi + then PREZIP=`which prezip-bin`; fi #echo $ASPELL echo $ECHO_N "Finding Dictionary file location ... $ECHO_C" @@ -79,9 +79,9 @@ datadir=`$ASPELL dump config data-dir` echo $datadir -echo "ASPELL = `which $ASPELL`" > Makefile +echo "ASPELL = $ASPELL" > Makefile echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile -echo "PREZIP = `which $PREZIP`" >> Makefile +echo "PREZIP = $PREZIP" >> Makefile echo "DESTDIR = $DESTDIR" >> Makefile echo "dictdir = $dictdir" >> Makefile echo "datadir = $datadir" >> Makefile