From rebum@mail.vx.sk  Sat Jul 16 01:00:50 2005
Return-Path: <rebum@mail.vx.sk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D2DDA16A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jul 2005 01:00:50 +0000 (GMT)
	(envelope-from rebum@mail.vx.sk)
Received: from mail.vx.sk (de.vx.sk [217.20.112.111])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7C10443D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jul 2005 01:00:48 +0000 (GMT)
	(envelope-from rebum@mail.vx.sk)
Received: from localhost (localhost [127.0.0.1])
	by mail.vx.sk (Postfix) with ESMTP id 6E8B12296B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jul 2005 03:01:28 +0200 (CEST)
Received: from mail.vx.sk ([127.0.0.1])
 by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 65014-05-2 for <FreeBSD-gnats-submit@freebsd.org>;
 Sat, 16 Jul 2005 03:01:24 +0200 (CEST)
Received: by mail.vx.sk (Postfix, from userid 1001)
	id A5DD02294B; Sat, 16 Jul 2005 03:01:24 +0200 (CEST)
Message-Id: <20050716010124.A5DD02294B@mail.vx.sk>
Date: Sat, 16 Jul 2005 03:01:24 +0200 (CEST)
From: Martin Matuska <martin@matuska.org>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [FIX] databases/ruby-bdb
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         83536
>Category:       ports
>Synopsis:       [FIX] databases/ruby-bdb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 16 01:10:09 GMT 2005
>Closed-Date:    Sat Sep 10 21:15:28 GMT 2005
>Last-Modified:  Sat Sep 10 21:15:28 GMT 2005
>Originator:     Martin Matuska
>Release:        FreeBSD 5.4-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD 5.4-RELEASE-p3
>Description:
Fix bdb detection in Makefile if only WITH_BDB_VER=42 or WITH_BDB_VER=43 is used
Add support for bdb ver 4.3 in Makefile
>How-To-Repeat:
>Fix:
--- databases/ruby-bdb/Makefile.orig	Sat Jul 16 01:56:32 2005
+++ databases/ruby-bdb/Makefile	Sat Jul 16 02:53:28 2005
@@ -28,9 +28,12 @@
 WITH_BDB_VER=	4
 .elif defined(WITH_BDB41) || defined(WITH_DB41)
 WITH_BDB_VER=	41
-.elif defined(WITH_BDB42) || defined(WITH_DB42)
+.elif defined(WITH_BDB42) || defined(WITH_DB42) || ${WITH_BDB_VER} == 42
 WITH_BDB_VER=	42
 LIB_SUFFIX=	-4.2
+.elif defined(WITH_BDB43) || defined(WITH_DB43) || ${WITH_BDB_VER} == 43
+WITH_BDB_VER=	43
+LIB_SUFFIX=	-4.3
 .endif
 WITH_BDB_VER?=	4
 LIB_SUFFIX?=	${WITH_BDB_VER}
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->knu 
Responsible-Changed-By: thierry 
Responsible-Changed-When: Sat Jul 16 10:14:27 GMT 2005 
Responsible-Changed-Why:  

Assign to maintainer. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=83536 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Sep 10 21:15:10 GMT 2005 
State-Changed-Why:  
This get me a malformed conditional error from make. 
I'll go with ports/82924 patch anyway. 

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