$NetBSD: patch-ac,v 1.2 2001/07/02 16:09:43 drochner Exp $

--- src/py_module.c.orig	Wed Nov  1 09:10:18 2000
+++ src/py_module.c	Mon Jul  2 17:56:19 2001
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
+#include <locale.h>
 
 #include <Python.h>
 #include <compile.h>  /* why is python-dev designed so, that I have      */
@@ -101,11 +102,7 @@
      strcat(tmp, "/.emma.py");
      py_module_include_file(tmp, FALSE);
 
-     py_module_include_file("/usr/share/emma.py", FALSE);
-     py_module_include_file("/usr/local/share/emma.py", FALSE);
-
-     py_module_include_file("/usr/share/emma/emma.py", FALSE);
-     py_module_include_file("/usr/local/share/emma/emma.py", FALSE);
+     py_module_include_file(PREFIX "/share/emma/emma.py", FALSE);
 }
 
 void py_module_redirect_stderr(void)
