Bug 107349

Summary: [PATCH] security/gnupg: Unbreak BATCH building
Product: Ports & Packages Reporter: Ulrich Spoerlein <uspoerlein>
Component: Individual Port(s)Assignee: Jun Kuriyama <kuriyama>
Status: Closed FIXED    
Severity: Affects Only Me CC: kuriyama
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
gnupg-2.0.1.patch none

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 freebsd_triage 2006-12-30 12:01:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

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

Committed, thanks!