blob: a9c136c2eef2053d5cb5549973b7c3affef20682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.2 2014/05/01 09:52:03 obache Exp $
* destdir support.
https://github.com/tegaki/tegaki/commit/09a3d7d91e9e9199a6a3b307f8831615ddf06512
--- setup.py.orig 2010-03-23 07:07:56.000000000 +0000
+++ setup.py
@@ -40,6 +40,8 @@ class install(installbase):
txt = load_file(filename)
txt = replace_constants(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)
|