Blame SOURCES/aspell-0.60.7-fileconflict.patch

65814f
diff --git a/Makefile.in b/Makefile.in
65814f
index f293649..e5d2b1a 100644
65814f
--- a/Makefile.in
65814f
+++ b/Makefile.in
65814f
@@ -518,6 +518,7 @@ distcleancheck_listfiles = find . -type f -print
65814f
 
65814f
 # These are needed due to a bug in Automake
65814f
 pkgdatadir = @pkgdatadir@
65814f
+pkgdatadir2 = @pkgdatadir2@
65814f
 pkglibdir = @pkglibdir@
65814f
 ACLOCAL = @ACLOCAL@
65814f
 AMTAR = @AMTAR@
65814f
@@ -2071,7 +2072,7 @@ gen/dirs.h: gen/mk-dirs_h.pl
65814f
 	perl ${srcdir}/gen/mk-dirs_h.pl ${prefix} ${pkgdatadir} ${pkglibdir}  ${sysconfdir} >  gen/dirs.h
65814f
 
65814f
 scripts/run-with-aspell: scripts/run-with-aspell.create
65814f
-	sh ${srcdir}/scripts/run-with-aspell.create ${pkgdatadir} > scripts/run-with-aspell
65814f
+	sh ${srcdir}/scripts/run-with-aspell.create ${pkgdatadir2} > scripts/run-with-aspell
65814f
 	chmod 755 scripts/run-with-aspell
65814f
 @PSPELL_COMPATIBILITY_TRUE@scripts/pspell-config: scripts/mkconfig
65814f
 @PSPELL_COMPATIBILITY_TRUE@	sh ${srcdir}/scripts/mkconfig ${VERSION} ${datadir} ${pkgdatadir}
65814f
diff --git a/configure b/configure
65814f
index 1236c90..8a6e697 100755
65814f
--- a/configure
65814f
+++ b/configure
65814f
@@ -709,6 +709,7 @@ CXXFLAGS
65814f
 CXX
65814f
 pkglibdir
65814f
 pkgdatadir
65814f
+pkgdatadir2
65814f
 pkgdocdir
65814f
 MAINT
65814f
 MAINTAINER_MODE_FALSE
65814f
@@ -3297,18 +3298,21 @@ pkgdatadir=undef
65814f
 # Check whether --enable-pkgdatadir was given.
65814f
 if test "${enable_pkgdatadir+set}" = set; then :
65814f
   enableval=$enable_pkgdatadir; pkgdatadir=$enable_pkgdatadir
65814f
+  pkgdatadir2=$enable_pkgdatadir
65814f
 fi
65814f
 
65814f
 
65814f
 # Check whether --enable-pkgdata-dir was given.
65814f
 if test "${enable_pkgdata_dir+set}" = set; then :
65814f
   enableval=$enable_pkgdata_dir; pkgdatadir=$enable_dict_dir
65814f
+  pkgdatadir2=$enable_dict_dir
65814f
 fi
65814f
 
65814f
 
65814f
 if test "$pkgdatadir" = "undef"
65814f
 then
65814f
   pkgdatadir=\${libdir}/aspell-0.60
65814f
+  pkgdatadir2=${exec_prefix}/lib/aspell-0.60:${exec_prefix}/lib64/aspell-0.60
65814f
 fi
65814f
 
65814f