Bug 139993 - [patch] Make devel/git dependencies optional.
Summary: [patch] Make devel/git dependencies optional.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 17:40 UTC by Stef Walter
Modified: 2009-11-13 01:36 UTC (History)
0 users

See Also:


Attachments
file.diff (3.09 KB, patch)
2009-10-26 17:40 UTC, Stef Walter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stef Walter 2009-10-26 17:40:01 UTC
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.

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 FreeBSD ports.

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 
   longer needed.
 * When git is built without iconv support, nothing changes in the 
   packaging. And obviously UTF-8 support is still present.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-10-26 20:51:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Wesley Shields freebsd_committer freebsd_triage 2009-11-13 01:36:53 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!