$OpenBSD: patch-fax_filters_pstotiff,v 1.1 2010/11/25 11:24:16 dcoppa Exp $
--- fax/filters/pstotiff.orig	Thu Nov 25 11:46:48 2010
+++ fax/filters/pstotiff	Thu Nov 25 11:47:38 2010
@@ -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 -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)
 
