Blame SOURCES/a2ps-4.13-etc.patch

0d8902
diff -up a2ps-4.14/etc/a2ps_cfg.in.etc a2ps-4.14/etc/a2ps_cfg.in
0d8902
--- a2ps-4.14/etc/a2ps_cfg.in.etc	2007-12-29 02:38:58.000000000 +0100
0d8902
+++ a2ps-4.14/etc/a2ps_cfg.in	2008-04-27 01:27:55.000000000 +0200
0d8902
@@ -73,6 +73,7 @@ LibraryPath: @libpath@
0d8902
 # It may be useful to extend it so that a2ps can see some
0d8902
 # TeX or X11 resources: it likes AFM files and PF[AB] files.
0d8902
 #AppendLibraryPath: foo
0d8902
+AppendLibraryPath: @apppath@
0d8902
 
0d8902
 
0d8902
 #################################################################
0d8902
diff -up a2ps-4.14/etc/Makefile.am.etc a2ps-4.14/etc/Makefile.am
0d8902
--- a2ps-4.14/etc/Makefile.am.etc	2002-07-19 14:07:27.000000000 +0200
0d8902
+++ a2ps-4.14/etc/Makefile.am	2008-04-27 01:27:55.000000000 +0200
0d8902
@@ -2,7 +2,7 @@
0d8902
 ## Makefile for a2ps' etc library directory.
0d8902
 
0d8902
 ogonkifydir=$(datadir)/ogonkify
0d8902
-libpath = $(pkgdatadir)/sheets:$(pkgdatadir)/ps:$(pkgdatadir)/encoding:$(pkgdatadir)/afm:$(ogonkifydir)/afm:$(pkgdatadir)/ppd:$(pkgdatadir)/fonts:$(ogonkifydir)/fonts:$(pkgdatadir)
0d8902
+libpath = $(sysconfdir)/$(PACKAGE):$(pkgdatadir)/sheets:$(pkgdatadir)/ps:$(pkgdatadir)/encoding:$(pkgdatadir)/afm:$(ogonkifydir)/afm:$(pkgdatadir)/ppd:$(pkgdatadir)/fonts:$(ogonkifydir)/fonts:$(pkgdatadir)
0d8902
 
0d8902
 pkgdata_DATA = README
0d8902
 
0d8902
@@ -40,7 +40,9 @@ DISTCLEANFILES = a2ps.cfg README
0d8902
 
0d8902
 # Building the correct a2ps.cfg
0d8902
 a2ps.cfg: a2ps_cfg Makefile
0d8902
-	sed "s!@libpath@!$(libpath)!" a2ps_cfg > a2ps.cfg
0d8902
+	sed -e "s!@libpath@!$(libpath)!" \
0d8902
+	    -e "s!@apppath@!$(PSFONT_PATH)!" \
0d8902
+	    a2ps_cfg > a2ps.cfg
0d8902
 
0d8902
 # Building a time stamp to know the version.
0d8902
 README: README.in Makefile
0d8902
diff -up a2ps-4.14/etc/Makefile.in.etc a2ps-4.14/etc/Makefile.in
0d8902
--- a2ps-4.14/etc/Makefile.in.etc	2007-12-29 04:28:07.000000000 +0100
0d8902
+++ a2ps-4.14/etc/Makefile.in	2008-04-27 01:30:55.000000000 +0200
0d8902
@@ -262,7 +262,7 @@ sysconfdir = @sysconfdir@
0d8902
 target_alias = @target_alias@
0d8902
 tex = @tex@
0d8902
 ogonkifydir = $(datadir)/ogonkify
0d8902
-libpath = $(pkgdatadir)/sheets:$(pkgdatadir)/ps:$(pkgdatadir)/encoding:$(pkgdatadir)/afm:$(ogonkifydir)/afm:$(pkgdatadir)/ppd:$(pkgdatadir)/fonts:$(ogonkifydir)/fonts:$(pkgdatadir)
0d8902
+libpath = $(sysconfdir)/$(PACKAGE):$(pkgdatadir)/sheets:$(pkgdatadir)/ps:$(pkgdatadir)/encoding:$(pkgdatadir)/afm:$(ogonkifydir)/afm:$(pkgdatadir)/ppd:$(pkgdatadir)/fonts:$(ogonkifydir)/fonts:$(pkgdatadir)
0d8902
 pkgdata_DATA = README
0d8902
 dsysconf = $(DESTDIR)$(sysconfdir)
0d8902
 EXTRA_DIST = README.in
0d8902
@@ -482,7 +482,9 @@ uninstall-local:
0d8902
 
0d8902
 # Building the correct a2ps.cfg
0d8902
 a2ps.cfg: a2ps_cfg Makefile
0d8902
-	sed "s!@libpath@!$(libpath)!" a2ps_cfg > a2ps.cfg
0d8902
+	sed -e "s!@libpath@!$(libpath)!" \
0d8902
+	    -e "s!@apppath@!$(PSFONT_PATH)!" \
0d8902
+	    a2ps_cfg > a2ps.cfg
0d8902
 
0d8902
 # Building a time stamp to know the version.
0d8902
 README: README.in Makefile
0d8902
diff -up a2ps-4.14/Makefile.am.etc a2ps-4.14/Makefile.am
0d8902
diff -up a2ps-4.14/Makefile.in.etc a2ps-4.14/Makefile.in