forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteeca4bd
committed
The attached patch changes src/interfaces/python/GNUmakefile to use the
value of DESTDIR like the rest (or at least most) of the PostgreSQLmakefiles. I found this problem when trying to package a pre-builtCygwin PostgreSQL distribution, but this problem is platform independent.The problem manifests itself when one tries to install into a staggingarea (e.g., to build a tarball) instead of a real install. In this case,pg.py and _pgmodule$(SO) still end up being installed in the configuredprefix directory ignoring the value of DESTDIR.Unfortunately, this patch does not handle the case where PostgreSQLand Python are configured with different prefixes. Since the PythonMakefile is automatically generated and does not use DESTDIR, I believethat this issue will be difficult to correct. If anyone has ideas onhow to fix this issue, then I'm quite willing to rework the patch totake the suggestion into account.Jason Tishler1 parent74068df commiteeca4bd
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
| 37 | + | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 |
| |
48 | 51 |
| |
49 | 52 |
| |
|
0 commit comments
Comments
(0)