Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 20:16:54 +0800 (CST)
From:      Xin LI <delphij@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        knu@FreeBSD.org
Subject:   ports/82924: [PATCH] Add bdb4.3 support for ruby-bdb
Message-ID:  <200507031216.j63CGsjK056497@tarsier.delphij.net>
Resent-Message-ID: <200507031220.j63CKLjo042992@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82924
>Category:       ports
>Synopsis:       [PATCH] Add bdb4.3 support for ruby-bdb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 03 12:20:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 5.4-RELEASE-p3 i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD tarsier.delphij.net 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #6: Thu Jun 30 22:40:22 CST 2005 root@tarsier.delphij.net:/usr/obj/usr/src/sys/TARSIER i386


>Description:
	ruby-bdb does not build when Berkeley DB 4.3 is used.

>How-To-Repeat:
	Try to install bdb 4.3 and install ruby-bdb

>Fix:

	The attached patch will add BDB 4.3 support to ruby-bdb.  The
patch tends to follow the style of ruby-bdb's dealing with BDB versions,
which is different from other ports, such as OpenLDAP, cyrus-imapd22,
etc., however.

--- patch-ruby-bdb begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/ruby-bdb/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- Makefile	23 Dec 2004 18:54:25 -0000	1.44
+++ Makefile	3 Jul 2005 12:11:23 -0000
@@ -31,6 +31,9 @@
 .elif defined(WITH_BDB42) || defined(WITH_DB42)
 WITH_BDB_VER=	42
 LIB_SUFFIX=	-4.2
+.elif defined(WITH_BDB43) || defined(WITH_DB43)
+WITH_BDB_VER=	43
+LIB_SUFFIX=	-4.3
 .endif
 WITH_BDB_VER?=	4
 LIB_SUFFIX?=	${WITH_BDB_VER}
--- patch-ruby-bdb ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507031216.j63CGsjK056497>