mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
22 lines
729 B
Plaintext
22 lines
729 B
Plaintext
$NetBSD: patch-cs,v 1.2 2007/12/03 21:54:31 bouyer Exp $
|
|
|
|
--- misc/xen-python-path.orig 2007-11-15 00:35:27.000000000 +0100
|
|
+++ misc/xen-python-path 2007-12-03 12:45:29.000000000 +0100
|
|
@@ -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']:
|
|
for k in ['', 'site-packages/']:
|
|
d = os.path.join(l, p, k)
|
|
if os.path.exists(os.path.join(d, AUXBIN)):
|