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