I'm working on building the 1.3.x branch on MacPorts. Like building
RPM, MacPorts installs into a DESTDIR that mirrors the PREFIX.
However, trying the same commands that mongodb uses to install, which is
also a scons project, fails.
Here's the output from `port -v destroot serf1`:
DEBUG: Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf1/serf1/work/1.3.x"
&& /opt/local/bin/scons install
--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf1/serf1/work/destroot/opt/local
scons: Reading SConscript files ...
scons: done reading SConscript files.
usage: scons [OPTION] [TARGET] ...
SCons Error: no such option: --prefix
And here's the MacPorts portfile for serf1 that I'm currently using:
https://gist.github.com/blair/5989662
Is there DESTDIR support in serf's SConstruct that I'm not using
correctly? Does it need to be added?
Thanks,
Blair