Index: src/params.h
--- src/params.h.orig	2013-05-30 05:32:02.000000000 +0200
+++ src/params.h	2013-05-30 16:04:25.733613416 +0200
@@ -75,15 +75,15 @@
  * notes above.
  */
 #ifndef JOHN_SYSTEMWIDE
-#define JOHN_SYSTEMWIDE			0
+#define JOHN_SYSTEMWIDE			1
 #endif
 
 #if JOHN_SYSTEMWIDE
 #ifndef JOHN_SYSTEMWIDE_EXEC /* please refer to the notes above */
-#define JOHN_SYSTEMWIDE_EXEC		"/usr/libexec/john"
+#define JOHN_SYSTEMWIDE_EXEC		"@l_prefix@/libexec/john"
 #endif
 #ifndef JOHN_SYSTEMWIDE_HOME
-#define JOHN_SYSTEMWIDE_HOME		"/usr/share/john"
+#define JOHN_SYSTEMWIDE_HOME		"@l_prefix@/etc/john"
 #endif
 #define JOHN_PRIVATE_HOME		"~/.john"
 #endif
