mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 06:26:12 -04:00
17 lines
641 B
Plaintext
17 lines
641 B
Plaintext
$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)
|