Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jul 2006 19:08:08 +0400
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/99706: [patch] databases/ruby-bdb links with a wrong bdb port is there are more than one
Message-ID:  <E1Fwh4q-0008UD-9h@pandor.sem-home.ciam.ru>
Resent-Message-ID: <200607020200.k6220aEV040220@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 02:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Fwh4q-0008UD-9h>