From uspoerlein@gmail.com  Mon Jan  1 11:41:17 2007
Return-Path: <uspoerlein@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 23A2E16A407
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Jan 2007 11:41:17 +0000 (UTC)
	(envelope-from uspoerlein@gmail.com)
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
	by mx1.freebsd.org (Postfix) with ESMTP id B074213C442
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Jan 2007 11:41:16 +0000 (UTC)
	(envelope-from uspoerlein@gmail.com)
Received: by nf-out-0910.google.com with SMTP id x37so6432116nfc
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 01 Jan 2007 03:41:15 -0800 (PST)
Received: by 10.49.90.4 with SMTP id s4mr24663883nfl.1167651675429;
        Mon, 01 Jan 2007 03:41:15 -0800 (PST)
Received: from roadrunner.q.local ( [85.180.170.141])
        by mx.google.com with ESMTP id v20sm80631337nfc.2007.01.01.03.41.15;
        Mon, 01 Jan 2007 03:41:15 -0800 (PST)
Received: from roadrunner.q.local (localhost [127.0.0.1])
	by roadrunner.q.local (8.13.8/8.13.8) with ESMTP id l01BfADc005210;
	Mon, 1 Jan 2007 12:41:10 +0100 (CET)
	(envelope-from uspoerlein@gmail.com)
Received: (from q@localhost)
	by roadrunner.q.local (8.13.8/8.13.8/Submit) id l01Bf9Zn005209;
	Mon, 1 Jan 2007 12:41:09 +0100 (CET)
	(envelope-from uspoerlein@gmail.com)
Message-Id: <20070101114109.GA46689@roadrunner.q.local>
Date: Mon, 1 Jan 2007 12:41:09 +0100
From: Ulrich Spoerlein <uspoerlein@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: itetcu@freebsd.org
Subject: [PATCH] misc/tinderbox: Unbreak BATCH OPTIONS handling

>Number:         107393
>Category:       ports
>Synopsis:       [PATCH] misc/tinderbox: Unbreak BATCH OPTIONS handling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 01 11:50:16 GMT 2007
>Closed-Date:    Mon Jan 01 12:14:55 GMT 2007
>Last-Modified:  Mon Jan 01 12:14:55 GMT 2007
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD roadrunner.q.local 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #3: Fri Dec 29 20:43:07 CET 2006
>Description:
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

This is the same problem as
http://www.freebsd.org/cgi/query-pr.cgi?pr=107349

Port maintainer (itetcu@FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
% cd /usr/ports/misc/tinderbox
% make __MAKE_CONF=/dev/null -DBATCH -DWITH_PGSQL -DWITHOUT_MYSQL 
===>  tinderbox-2.3.4_2 is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL.
*** Error code 1

>Fix:

--- tinderbox-2.3.4_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/tinderbox/Makefile,v
retrieving revision 1.26
diff -u -p -u -r1.26 Makefile
--- Makefile	17 Dec 2006 19:07:47 -0000	1.26
+++ Makefile	30 Dec 2006 17:48:11 -0000
@@ -31,7 +31,7 @@ MAN1=		tc-configCcache.1 tc-configDistfi
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITHOUT_PGSQL) && defined(WITHOUT_MYSQL)
+.if !defined(WITH_PGSQL) && defined(WITHOUT_MYSQL)
 IGNORE=	is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL
 .endif
 
--- tinderbox-2.3.4_2.patch ends here ---

The pre-everything:: target already has this right.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 1 11:50:25 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107393 
State-Changed-From-To: open->closed 
State-Changed-By: erwin 
State-Changed-When: Mon Jan 1 12:14:42 UTC 2007 
State-Changed-Why:  
Duplicate of ports/107394 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107393 
>Unformatted:
