Bug 107349 - [PATCH] security/gnupg: Unbreak BATCH building
Summary: [PATCH] security/gnupg: Unbreak BATCH building
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: Jun Kuriyama
Depends on:
Reported: 2006-12-30 12:00 UTC by Ulrich Spoerlein
Modified: 2007-01-14 07:05 UTC (History)
1 user (show)

See Also:

gnupg-2.0.1.patch (1.14 KB, patch)
2006-12-30 12:00 UTC, Ulrich Spoerlein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Spoerlein 2006-12-30 12:00:37 UTC
The OPTIONS framework is flawed wrt. to BATCH mode. There are around 600
instances where wrong checks are performed. For a general fix see ports/105147

For this port, I'm just submitting a bandaid fix.

Port maintainer (kuriyama@FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77

How-To-Repeat: % cd /usr/port/security/gnupg
% __MAKE_CONF=/dev/null make -DBATCH -DWITH_LDAP
===>  gnupg-2.0.1 is marked as broken: Conflict options: WITHOUT_LDAP/WITH_LDAP.
*** Error code 1

Why? OPTIONS will always define the default value (in this case
WITHOUT_LDAP). Now if the user specifies WITH_LDAP too, the error will occur.
Comment 1 Edwin Groothuis freebsd_committer 2006-12-30 12:01:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer
Comment 2 Jun Kuriyama freebsd_committer 2007-01-14 07:05:29 UTC
State Changed
From-To: open->closed

Committed, thanks!