Closed mansourmoufid closed 4 years ago
So, a pull request that is not working; interesting.
Why didn't you try:
mkdir .destdir
DESTDIR=$(pwd)/.destdir
./configure --prefix=$DESTDIR
make && make install
the --prefix option of the configure script as well as the --exec-prefix options seems completely broken
This part may require some love: it is the result of several successive iterations and we actually only tested the standard cases for opam install.
If you find a way to make it work properly without breaking the rest, that would be great, but all this is very fragile.
On Wed, Apr 27, 2016 at 04:54:21AM -0700, Francois Berenger wrote:
the --prefix option of the configure script as well as the --exec-prefix options seems completely broken
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub*
@eliteraspberries are you a packager for NetBSD?
Hello,
In order to package parmap in pkgsrc, it needs to support "staged installation" (installing into DESTDIR). For example:
This should install everything into the .destdir directory like so:
but at the moment it's not working.
I changed a few things in the file Makefile.in to do this properly. I removed the test for DESTDIR since it is not set during the build target but during the install target; and I changed the install target to always install to $(DESTDIR)$(PREFIX); if DESTDIR is not set this will evaluate to $(PREFIX) as usual.