ports/82924: [PATCH] Add bdb4.3 support for ruby-bdb

Xin LI delphij at FreeBSD.org
Sun Jul 3 12:20:21 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list