[patch] Make git dependencies optional.
stef-list at memberwebs.com
Mon Oct 26 20:57:12 UTC 2009
Thanks for your work on the git port.
When using git as a deployment mechanism, I'd like to be able to have
minimal dependencies installed on the production system. The git
developers have made git so every dependency is optional.
This patch adds options to the port, so that with 'make config' you can
choose to not install any dependencies. The following options were added:
PERL "Build perl based git tools" on \
ICONV "Support for multiple character encodings" on \
CURL "Support HTTP push and pull" on \
The options default to the previous state of affairs, so ports users
will by default get a git that works exactly like before.
Some points about the patch:
* When git is built without perl support, stubs are installed for all
perl dependent commands, so the packaging does not change greatly
with or without perl.
* When git is built without curl support, three commands are not
installed. Packaging changes slightly.
* When git is built without curl support, the expat dependency is no
* When git is built without iconv support, nothing changes in the
packaging. And obviously UTF-8 support is still present.
Thanks in advance for considering this patch. Please let me know if
additional changes are necessary. I'd love to help you get this into
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3166 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091026/37cca920/git-port-optional-dependencies.bin
More information about the freebsd-ports