Peter Schiffer 09e3e8
diff -up aspell-0.60.6.1/configure.mlib aspell-0.60.6.1/configure
Peter Schiffer 09e3e8
--- aspell-0.60.6.1/configure.mlib	2011-08-16 11:40:48.000000000 +0200
Peter Schiffer 09e3e8
+++ aspell-0.60.6.1/configure	2011-08-16 11:41:44.013663519 +0200
Peter Schiffer 09e3e8
@@ -18989,7 +18989,7 @@ rm -f core conftest.err conftest.$ac_obj
Ivana Varekova f57728
 #                                                                 #
Ivana Varekova f57728
 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Ivana Varekova f57728
 
Ivana Varekova f57728
-ac_config_files="$ac_config_files Makefile gen/Makefile common/Makefile lib/Makefile data/Makefile auto/Makefile modules/Makefile modules/tokenizer/Makefile modules/speller/Makefile modules/speller/default/Makefile interfaces/Makefile interfaces/cc/Makefile scripts/Makefile examples/Makefile prog/Makefile manual/Makefile po/Makefile.in m4/Makefile modules/filter/Makefile myspell/Makefile lib5/Makefile"
Ivana Varekova f57728
+ac_config_files="$ac_config_files Makefile gen/Makefile common/Makefile lib/Makefile data/Makefile auto/Makefile modules/Makefile modules/tokenizer/Makefile modules/speller/Makefile modules/speller/default/Makefile interfaces/Makefile interfaces/cc/Makefile aspell.pc scripts/Makefile examples/Makefile prog/Makefile manual/Makefile po/Makefile.in m4/Makefile modules/filter/Makefile myspell/Makefile lib5/Makefile"
Ivana Varekova f57728
 
Ivana Varekova f57728
 cat >confcache <<\_ACEOF
Ivana Varekova f57728
 # This file is a shell script that caches the results of configure
Peter Schiffer 09e3e8
@@ -19985,7 +19985,7 @@ do
Ivana Varekova f57728
     "modules/filter/Makefile") CONFIG_FILES="$CONFIG_FILES modules/filter/Makefile" ;;
Ivana Varekova f57728
     "myspell/Makefile") CONFIG_FILES="$CONFIG_FILES myspell/Makefile" ;;
Ivana Varekova f57728
     "lib5/Makefile") CONFIG_FILES="$CONFIG_FILES lib5/Makefile" ;;
Ivana Varekova f57728
-
Ivana Varekova f57728
+    "aspell.pc" ) CONFIG_FILES="$CONFIG_FILES aspell.pc" ;;
Ivana Varekova f57728
   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
Ivana Varekova f57728
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
Ivana Varekova f57728
    { (exit 1); exit 1; }; };;
Peter Schiffer 09e3e8
diff -up aspell-0.60.6.1/Makefile.in.mlib aspell-0.60.6.1/Makefile.in
Peter Schiffer 09e3e8
--- aspell-0.60.6.1/Makefile.in.mlib	2011-08-16 11:20:09.000000000 +0200
Peter Schiffer 09e3e8
+++ aspell-0.60.6.1/Makefile.in	2011-08-16 11:46:30.643236786 +0200
Peter Schiffer 09e3e8
@@ -816,6 +816,8 @@ clean-filterLTLIBRARIES:
Ivana Varekova f57728
 	done
Ivana Varekova f57728
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
Ivana Varekova f57728
 	@$(NORMAL_INSTALL)
Ivana Varekova f57728
+	mkdir -p $(libdir)/pkgconfig; \
Ivana Varekova f57728
+	cp aspell.pc $(libdir)/pkgconfig/aspell.pc; \
Ivana Varekova f57728
 	test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
Ivana Varekova f57728
 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
Ivana Varekova f57728
 	  if test -f $$p; then \
Peter Schiffer 09e3e8
diff -up aspell-0.60.6.1/scripts/mkconfig.mlib aspell-0.60.6.1/scripts/mkconfig
Peter Schiffer 09e3e8
--- aspell-0.60.6.1/scripts/mkconfig.mlib	2004-01-03 13:06:24.000000000 +0100
Peter Schiffer 09e3e8
+++ aspell-0.60.6.1/scripts/mkconfig	2011-08-16 11:42:46.810519200 +0200
Peter Schiffer 09e3e8
@@ -15,7 +15,7 @@ case \$1 in
Peter Schiffer 09e3e8
   echo "$2"
Peter Schiffer 09e3e8
   ;;
Peter Schiffer 09e3e8
 --pkgdatadir | pkgdatadir)
Peter Schiffer 09e3e8
-  echo "$3"
Peter Schiffer 09e3e8
+  pkg-config aspell --variable=pkgdatadir
Peter Schiffer 09e3e8
   ;;
Peter Schiffer 09e3e8
 *)
Peter Schiffer 09e3e8
   echo "usage: pspell-config version|datadir|pkgdatadir"
Ivana Varekova f57728
--- /dev/null	2007-01-02 09:09:01.616000852 +0100
Peter Schiffer 09e3e8
+++ aspell-0.60.6.1/aspell.pc.in	2007-01-02 14:59:04.000000000 +0100
Ivana Varekova f57728
@@ -0,0 +1,12 @@
Ivana Varekova f57728
+prefix=@prefix@
Ivana Varekova f57728
+exec_prefix=@exec_prefix@
Ivana Varekova f57728
+libdir=@libdir@
Ivana Varekova f57728
+includedir=@includedir@
Ivana Varekova f57728
+pkgdatadir=@pkgdatadir@
Ivana Varekova f57728
+
Ivana Varekova f57728
+Name: Aspell
Ivana Varekova f57728
+Description: A spelling checker.
Ivana Varekova f57728
+Version: @VERSION@
Ivana Varekova f57728
+Requires: 
Ivana Varekova f57728
+Libs: -L${libdir} -laspell
Ivana Varekova f57728
+Cflags: -I${includedir}