Opened 15 years ago
Closed 4 years ago
#764 closed enhancement (fixed)
Can the install process accept a DESTDIR additional variable?
Reported by: | vince | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 8.0.0 |
Component: | Installation | Version: | git-releasebranch78 |
Keywords: | install DESTDIR | Cc: | |
CPU: | All | Platform: | All |
Description
Many Makefiles now accept an additional variable called DESTROOT that specifies a kind of root install location, considering all other paths relative to this root. This is used by Macports to install applications in special locations, while using soft links to make the files visible in the standard directories.
This appear to be not supported by the install Makefile of Grass. If I use a modified prefix, I get a normal file behaviour, but because of the -install_name flag in the include/Make/Plateform file, all the libraries and their dependencies are wrong (as well as the file that are linked against them, like etc/lock). Could it be possible before 6.4.0 release to enhance the Makefile in order to support this type of installation?
Change History (7)
comment:1 by , 12 years ago
Summary: | Can the install process accept a DESTROOT additional variable? → OSX: Can the install process accept a DESTROOT additional variable? |
---|
comment:2 by , 12 years ago
CPU: | OSX/Intel → All |
---|---|
Keywords: | DESTDIR added; DESTROOT removed |
Platform: | MacOSX → All |
Summary: | OSX: Can the install process accept a DESTROOT additional variable? → Can the install process accept a DESTDIR additional variable? |
comment:4 by , 9 years ago
Milestone: | 6.4.4 → 6.4.6 |
---|
comment:5 by , 4 years ago
Milestone: | 6.4.6 → 8.0.0 |
---|---|
Version: | unspecified → git-releasebranch78 |
This is still an issue with 7.9.dev.
PR addressing this issue https://github.com/OSGeo/grass/pull/1234.
comment:7 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This isn't really an OS X-only feature. DESTDIR (as it is normally called) is common in makefiles, for all platforms.
There IS something in the OS X build that has a similar effect: make bindist. It stages the installation in the macosx folder in the source before creating the installer.