]> git.pld-linux.org Git - packages/a2ps.git/blame - a2ps-conf.patch
- don't require versioned psutils, it comes from texlive, rel 2
[packages/a2ps.git] / a2ps-conf.patch
CommitLineData
938b2c3a
JB
1--- a2ps-4.15.4/configure.ac.orig 2023-06-11 19:54:15.800216976 +0200
2+++ a2ps-4.15.4/configure.ac 2023-06-11 19:54:18.423536097 +0200
3@@ -152,20 +152,9 @@ AM_CONDITIONAL(EXTENSIONS, test x$enable
4 AC_MSG_CHECKING(for PostScript fonts path)
9d216bc5 5 # Try to find some PostScript fonts.
6 # Find out if ghostscript is installed
80135512 7-ac_psfont_path=
9d216bc5 8-for ac_dir in /usr/local/ghostscript/fonts \
9- /usr/local/share/ghostscript/fonts;
80135512
JB
10-do
11- if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
12- ac_psfont_path="$ac_psfont_path:$ac_dir";
13- fi
14-done
938b2c3a
JB
15-dnl # Remove the leading `:'
16-if test -n "$ac_psfont_path"; then
17- PSFONT_PATH=`echo "$ac_psfont_path" | sed -e 's/^://'`
18-fi
19+PSFONT_PATH="/usr/share/fonts/Type1:/usr/share/fonts/Type1/afm:/usr/share/fonts/default/Type1:/usr/share/fonts/default/ghostscript:/usr/share/fonts/afms/adobe:/usr/share/fonts/ISO8859-2/Type1/afm"
20 AC_SUBST(PSFONT_PATH)
21-AC_MSG_RESULT([$ac_psfont_path])
22+AC_MSG_RESULT([$PSFONT_PATH])
23
24 ## ---------------------------------------------------------- ##
25 ## Write a first sketch of a2ps.cfg. The user should check. ##
This page took 0.126593 seconds and 4 git commands to generate.