Opened 11 years ago

Last modified 4 years ago

#764 new enhancement

Can the install process accept a DESTDIR additional variable?

Reported by: vince Owned by: grass-dev@…
Priority: minor Milestone: 6.4.6
Component: Installation Version: unspecified
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 (4)

comment:1 Changed 7 years ago by hamish

Summary: Can the install process accept a DESTROOT additional variable?OSX: Can the install process accept a DESTROOT additional variable?

comment:2 Changed 7 years ago by kyngchaos

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 Changed 6 years ago by neteler

Milestone: 6.4.06.4.4

Potential patch in trac #1839

comment:4 Changed 4 years ago by neteler

Milestone: 6.4.46.4.6
Note: See TracTickets for help on using tickets.