From sem@ciam.ru  Sun Jul  2 01:57:20 2006
Return-Path: <sem@ciam.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 339B016A510
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 Jul 2006 01:57:20 +0000 (UTC)
	(envelope-from sem@ciam.ru)
Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3977244275
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Jul 2006 15:07:54 +0000 (GMT)
	(envelope-from sem@ciam.ru)
Received: from [87.240.16.199] (helo=pandor.sem-home.ciam.ru)
	by mail.ciam.ru with esmtpa (Exim 4.x)
	id 1Fwh4b-000LMM-DH
	for FreeBSD-gnats-submit@freebsd.org; Sat, 01 Jul 2006 19:07:53 +0400
Received: from sem by pandor.sem-home.ciam.ru with local (Exim 4.52 (FreeBSD))
	id 1Fwh4q-0008UD-9h
	for FreeBSD-gnats-submit@freebsd.org; Sat, 01 Jul 2006 19:08:08 +0400
Message-Id: <E1Fwh4q-0008UD-9h@pandor.sem-home.ciam.ru>
Date: Sat, 01 Jul 2006 19:08:08 +0400
From: Sergey Matveychuk <sem@FreeBSD.org>
Sender: Sergey Matveychuk <sem@ciam.ru>
Reply-To: Sergey Matveychuk <sem@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] databases/ruby-bdb links with a wrong bdb port is there are more than one
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99706
>Category:       ports
>Synopsis:       [patch] databases/ruby-bdb links with a wrong bdb port is there are more than one
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 02:00:35 GMT 2006
>Closed-Date:    Sun Jul 02 07:25:57 GMT 2006
>Last-Modified:  Sun Jul 02 07:25:57 GMT 2006
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD pandor.sem-home.ciam.ru 6.1-STABLE FreeBSD 6.1-STABLE #32: Sat May 27 19:09:48 MSD 2006 root@pandor.sem-home.ciam.ru:/usr/obj/usr/src/sys/CURRENT i386


	
>Description:
	
	databases/ruby-bdb port links with highest db* port it found.
	and if WITH_BDB_VER points not this port, ruby-bdb will not work.
>How-To-Repeat:
	
>Fix:

	

--- ruby-bdb.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/ruby-bdb/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile	7 Jun 2006 05:57:47 -0000	1.49
+++ Makefile	1 Jul 2006 15:01:54 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	bdb
 PORTVERSION=	0.5.9
+PORTREVISION=	1
 CATEGORIES=	databases ruby
 MASTER_SITES=	ftp://moulon.inra.fr/pub/ruby/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
@@ -24,7 +25,8 @@
 USE_RUBY_EXTCONF=	yes
 USE_RUBY_RDOC=		yes
 
-CONFIGURE_ARGS=	--with-db-include=${BDB_INCLUDE_DIR} \
+CONFIGURE_ARGS=	--with-db-version=-${_BDB_VER:C/([0-9])([0-9])/\1.\2/} \
+		--with-db-include=${BDB_INCLUDE_DIR} \
 		--with-db-lib=${BDB_LIB_DIR}
 INSTALL_TARGET=	site-install
 
--- ruby-bdb.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->knu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jul 2 02:37:49 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99706 
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sun Jul 2 07:25:55 UTC 2006 
State-Changed-Why:  
Duplicate to ports/99697. 

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