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,15 @@
$NetBSD: patch-aa,v 1.1.1.1 2010/08/07 12:52:21 obache Exp $
destdir support.
--- setup.py.orig 2010-03-22 07:05:39.000000000 +0000
+++ setup.py
@@ -41,6 +41,8 @@ class install(installbase):
txt = load_file(filename)
txt = self._replace_prefix(txt)
outdir = os.path.join(self._getprefix(), folder)
+ if self.root is not None:
+ outdir = self.root + outdir
out = os.path.join(outdir, filename.replace(".in", ""))
if not os.path.exists(outdir):
os.makedirs(outdir)