From root@marcus.grupos.com.br  Tue Nov  8 12:46:58 2005
Return-Path: <root@marcus.grupos.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4A9DF16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Nov 2005 12:46:58 +0000 (GMT)
	(envelope-from root@marcus.grupos.com.br)
Received: from mail.grupos.com.br (mail.grupos.com.br [200.203.183.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D05AF43D49
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Nov 2005 12:46:57 +0000 (GMT)
	(envelope-from root@marcus.grupos.com.br)
Received: from corp.grupos.com.br (201-3-244-86.fnsce701.e.brasiltelecom.net.br [201.3.244.86])
	by mail.grupos.com.br (Postfix) with ESMTP id 5B1BA11E0A1
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Nov 2005 10:46:44 -0200 (BRST)
Received: from marcus.grupos.com.br (marcus.grupos.com.br [150.162.166.51])
	by corp.grupos.com.br (Postfix) with ESMTP id 53B05551A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Nov 2005 10:46:40 -0200 (BRST)
Received: by marcus.grupos.com.br (Postfix, from userid 0)
	id 926FE5B; Tue,  8 Nov 2005 10:39:50 -0200 (BRST)
Message-Id: <20051108123950.926FE5B@marcus.grupos.com.br>
Date: Tue,  8 Nov 2005 10:39:50 -0200 (BRST)
From: Marcus Alves Grando <mnag@FreeBSD.org>
Reply-To: Marcus Alves Grando <mnag@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: Mk/bsd.database.mk Use lower case in DBD and SQLITE and fix comment
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88661
>Category:       ports
>Synopsis:       Update port: Mk/bsd.database.mk Use lower case in DBD and SQLITE and fix comment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vsevolod
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 12:50:27 GMT 2005
>Closed-Date:    Fri Nov 11 10:33:48 GMT 2005
>Last-Modified:  Fri Nov 11 10:33:48 GMT 2005
>Originator:     Marcus Alves Grando
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-STABLE FreeBSD 6.0-STABLE #17: Mon Nov 7 10:35:55 BRST 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386


	
>Description:

Use lower in USE_BDB and USE_SQLITE to make tests
Fix comment about BROKEN.

	
>How-To-Repeat:
	
>Fix:

	

--- bsd.database.mk begins here ---
Index: bsd.database.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.database.mk,v
retrieving revision 1.1
diff -u -r1.1 bsd.database.mk
--- bsd.database.mk	8 Nov 2005 09:02:51 -0000	1.1
+++ bsd.database.mk	8 Nov 2005 12:34:38 -0000
@@ -173,7 +173,7 @@
 _WANT_BDB_VER=	${USE_BDB}
 
 # Assume the default bdb version as 41
-.if ${USE_BDB} == "yes"
+.if ${USE_BDB:L} == "yes"
 _WANT_BDB_VER=	41+
 .endif
 
@@ -204,7 +204,7 @@
 .endif
 .endfor
 
-# USE_BDB is specified incorrectly, so mark this as BROKEN
+# USE_BDB is specified incorrectly, so mark this as IGNORE
 .if ${_FOUND} == "no"
 IGNORE=	"Unknown bdb version: ${USE_BDB}"
 .endif
@@ -214,12 +214,13 @@
 # Handling sqlite dependency
 .if defined(USE_SQLITE)
 
-.if ${USE_SQLITE} == "yes"
+.if ${USE_SQLITE:L} == "yes"
 _SQLITE_VER=	3
 .else
 _SQLITE_VER=	${USE_SQLITE}
 .endif
 
+# USE_SQLITE is specified incorrectly, so mark this as IGNORE
 .if ${_SQLITE_VER} != "3" && ${_SQLITE_VER} != "2"
 IGNORE=	"Unknown sqlite version: ${_SQLITE_VER}"
 .endif
--- bsd.database.mk ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->vsevolod 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Tue Nov 8 13:29:03 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88661 

From: Marcus Alves Grando <mnag@FreeBSD.org>
To: bug-followup@FreeBSD.org,  mnag@FreeBSD.org
Cc:  
Subject: Re: ports/88661: Update port: Mk/bsd.database.mk Use lower case in
 DBD and SQLITE and fix comment
Date: Tue, 08 Nov 2005 13:45:59 -0200

 This is a multi-part message in MIME format.
 --------------000007090907050701000908
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 New patch attached to fix wron dependencie on sqlite.
 
 -- 
 Marcus Alves Grando
 marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
    mnag(at)FreeBSD.org         |  FreeBSD.org
 
 --------------000007090907050701000908
 Content-Type: text/plain;
  name="bsd.database.mk"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="bsd.database.mk"
 
 Index: bsd.database.mk
 ===================================================================
 RCS file: /home/pcvs/ports/Mk/bsd.database.mk,v
 retrieving revision 1.1
 diff -u -r1.1 bsd.database.mk
 --- bsd.database.mk	8 Nov 2005 09:02:51 -0000	1.1
 +++ bsd.database.mk	8 Nov 2005 15:42:57 -0000
 @@ -173,7 +173,7 @@
  _WANT_BDB_VER=	${USE_BDB}
  
  # Assume the default bdb version as 41
 -.if ${USE_BDB} == "yes"
 +.if ${USE_BDB:L} == "yes"
  _WANT_BDB_VER=	41+
  .endif
  
 @@ -204,7 +204,7 @@
  .endif
  .endfor
  
 -# USE_BDB is specified incorrectly, so mark this as BROKEN
 +# USE_BDB is specified incorrectly, so mark this as IGNORE
  .if ${_FOUND} == "no"
  IGNORE=	"Unknown bdb version: ${USE_BDB}"
  .endif
 @@ -214,18 +214,21 @@
  # Handling sqlite dependency
  .if defined(USE_SQLITE)
  
 -.if ${USE_SQLITE} == "yes"
 +.if ${USE_SQLITE:L} == "yes"
  _SQLITE_VER=	3
  .else
  _SQLITE_VER=	${USE_SQLITE}
  .endif
  
 -.if ${_SQLITE_VER} != "3" && ${_SQLITE_VER} != "2"
 +# USE_SQLITE is specified incorrectly, so mark this as IGNORE
 +.if ${_SQLITE_VER} == "3"
 +LIB_DEPENDS+=	sqlite${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER}
 +.elif ${_SQLITE_VER} == "2"
 +LIB_DEPENDS+=	sqlite.${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER}
 +.else
  IGNORE=	"Unknown sqlite version: ${_SQLITE_VER}"
  .endif
  
 -LIB_DEPENDS+=	sqlite${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER}
 -
  .endif # defined(USE_SQLITE)
  
  .endif # defined(_POSTMKINCLUDED) && !defined(Database_Post_Include)
 
 --------------000007090907050701000908--
State-Changed-From-To: open->closed 
State-Changed-By: vsevolod 
State-Changed-When: Fri Nov 11 10:33:39 GMT 2005 
State-Changed-Why:  
Committed, thank you! 

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