Date: Wed, 15 Feb 1995 04:07:20 -0800 From: asami@cs.berkeley.edu (Satoshi Asami/=?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) To: gary@palmer.demon.co.uk Cc: CVS-commiters@freefall.cdrom.com, cvs-ports@freefall.cdrom.com Subject: Re: cvs commit: ports/graphics/xv/patches patch-ac Message-ID: <199502151207.EAA19857@silvia.HIP.Berkeley.EDU> In-Reply-To: <199502150309.DAA03251@palmer.demon.co.uk> (message from Gary Palmer on Wed, 15 Feb 1995 03:09:37 %2B0000 (WET))
next in thread | previous in thread | raw e-mail | index | archive | help
* > Patch to make xv call ghostscript (assumed to be in /usr/local/bin/gs) * > to render .ps files. Also calls gunzip to uncompress compressed files. * * Surely the proper patch would be for ${PREFIX}/bin/gs?? If PREFIX gets passed * down that far. Um, even if so, the default PREFIX is /usr/X11R6 for xv and /usr/local for gs so I'm afraid that won't work. And just because a user is using a certain value of PREFIX for xv doesn't mean she used it the same thing for other programs anyway. The only way (that I can think of) to reliably handle this is to write a script which uses "which" to find gs, and use the default location if it's not found. I'll write it if I ever get to it.... Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502151207.EAA19857>