ports/99706: [patch] databases/ruby-bdb links with a wrong bdb port is there are more than one

Sergey Matveychuk sem at FreeBSD.org
Sun Jul 2 02:37:27 UTC 2006


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



More information about the freebsd-ports-bugs mailing list