[haskell-platform] #196: add DESTDIR parameter to Haskell Platform installer Makefile
haskell-platform
haskell-platform at projects.haskell.org
Tue Oct 29 04:01:25 GMT 2013
#196: add DESTDIR parameter to Haskell Platform installer Makefile
------------------------------------+---------------------------------------
Reporter: chrisdornan | Owner: MtnViewMark
Type: enhancement | Status: assigned
Priority: minor | Milestone: 2013.2.0.0
Component: Generic source tarball | Resolution:
Keywords: |
------------------------------------+---------------------------------------
Comment(by AlainODea):
I am trying to prepare a PKGSRC package for SmartOS and I'm having this
same issue.
DESTDIR support is in the majority of the 11,000 packages currently in
PKGSRC. There are a handful of packages for which patching the build is
needed.
Not having DESTDIR support seriously complicates the job of package
maintainers regardless of packaging system.
This exact use case is described in the automake manual:
http://www.gnu.org/software/automake/manual/html_node/DESTDIR.html
This install.sh isn't quite correct. It won't put the ${PKG}.conf files in
the correct location. I have a hackish one-off solution that depends on
the version of GHC, but I'm sure you folks can outdo my naive hacks.
I will add it as a patch to the PKGSRC package build, but I'd be much
happier to have it in upstream.
Please integrate this fix.
--
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/196#comment:2>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
More information about the Haskell-platform
mailing list