--- filter/tex/filtersettings.php.orig	2010-04-10 19:03:41.000000000 -0500
+++ filter/tex/filtersettings.php	2010-08-14 21:07:11.000000000 -0500
@@ -15,10 +15,9 @@
     $default_filter_tex_pathconvert = "/usr/bin/convert";
 
 } else if (PHP_OS=='Darwin') {
-    // most likely needs a fink install (fink.sf.net)
-    $default_filter_tex_pathlatex   = "/sw/bin/latex";
-    $default_filter_tex_pathdvips   = "/sw/bin/dvips";
-    $default_filter_tex_pathconvert = "/sw/bin/convert";
+    $default_filter_tex_pathlatex   = "@PREFIX@/bin/latex";
+    $default_filter_tex_pathdvips   = "@PREFIX@/bin/dvips";
+    $default_filter_tex_pathconvert = "@PREFIX@/bin/convert";
 
 } else if (PHP_OS=='WINNT' or PHP_OS=='WIN32' or PHP_OS=='Windows') {
     // note: you need Ghostscript installed (standard), miktex (standard)
