Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-ab,v 1.2 2009/02/16 19:44:28 joerg Exp $
--- installp.py.orig 1999-02-04 05:59:11.000000000 +0100
+++ installp.py
@@ -14,12 +14,12 @@ def main():
print "Usage: %s [-f] pymodule [npymodule...]" % sys.argv[0]
sys.exit(1)
for opt in opts:
- if opt == '-f': FORCE = 1
+ if opt[0] == '-f': FORCE = 1
v = sys.version[:3]
if string.atof(v) >= 1.5:
- sp = "%s/lib/python%s/site-packages" % (sys.prefix, v)
+ sp = "%s%s/lib/python%s/site-packages" % (os.environ.get("DESTDIR", ""), sys.prefix, v)
if not os.path.exists(sp):
os.mkdir(sp)
else: