Blame SOURCES/a2ps-4.13-etc.patch

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