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: grass-dev@…
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 hamish, 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 kyngchaos, 12 years ago

CPU: OSX/IntelAll
Keywords: DESTDIR added; DESTROOT removed
Platform: MacOSXAll
Summary: OSX: Can the install process accept a DESTROOT additional variable?Can the install process accept a DESTDIR additional variable?

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.

comment:3 by neteler, 11 years ago

Milestone: 6.4.06.4.4

Potential patch in trac #1839

comment:4 by neteler, 9 years ago

Milestone: 6.4.46.4.6

comment:5 by nila, 4 years ago

Milestone: 6.4.68.0.0
Version: unspecifiedgit-releasebranch78

This is still an issue with 7.9.dev.

PR addressing this issue https://github.com/OSGeo/grass/pull/1234.

comment:6 by nila, 4 years ago

DESTDIR support added with commit daa8cd7 to master.

comment:7 by nila, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.