$NetBSD: patch-cs,v 1.1.1.1 2007/06/14 19:39:46 bouyer Exp $

--- misc/xen-python-path.orig	2007-05-18 16:45:21.000000000 +0200
+++ misc/xen-python-path	2007-05-27 17:07:21.000000000 +0200
@@ -22,14 +22,14 @@
 # take the first installed instance of auxbin that we find, and then run it
 # to determine the correct path, appending that to sys.path.
 
-AUXBIN = 'xen/util/auxbin.py'
+AUXBIN = 'site-packages/xen/util/auxbin.py'
 
 import os
 import os.path
 import sys
 
 for p in ['python%s' % sys.version[:3], 'python']:
-    for l in ['/usr/lib64', '/usr/lib']:
+    for l in ['@PREFIX@/lib']:
         d = os.path.join(l, p)
         if os.path.exists(os.path.join(d, AUXBIN)):
             sys.path.append(d)
