$OpenBSD: patch-fax_filters_pstotiff,v 1.2 2011/08/30 08:55:55 ajacoutot Exp $
--- fax/filters/pstotiff.orig	Sun Jul 24 21:06:43 2011
+++ fax/filters/pstotiff	Tue Aug 30 10:32:52 2011
@@ -16,10 +16,10 @@ if (len(sys.argv) > 6):
 
 temp_out_handle, temp_out_fname = tempfile.mkstemp()
 
-font = "-I/usr/share/cups/fonts"
+font = "-I${LOCALBASE}/share/cups/fonts"
 device = "-sDEVICE=tiffg4 -dMaxStripSize=0 -r204x196 -dNOPAUSE -dBATCH -dSAFER -dPARANOIDSAFER -dSHORTERRORS -dWRITESYSTEMDICT -dGHOSTSCRIPT -sstdout=%stderr -sOutputFile=" + temp_out_fname + " " + temp_in_file
 
-gs_command = "/usr/bin/gs" + " " + font + " " + device
+gs_command = "${LOCALBASE}/bin/gs" + " " + font + " " + device
 
 exit_code = os.system(gs_command)
 
