ports/99919: [PATCH][IMPORTANT] databases/ruby-bdb: fix compilation with multiple db4* installed

Matthias Andree matthias.andree at gmx.de
Sat Jul 8 17:50:17 UTC 2006


>Number:         99919
>Category:       ports
>Synopsis:       [PATCH][IMPORTANT] databases/ruby-bdb: fix compilation with multiple db4* installed
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 08 17:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #12: Thu Jun 15 20:09:12 CEST 2006
>Description:
Pass the BDB_LIB_NAME to the extconf.rb script so it checks ONLY the db library
that the ports system configured and will list as dependency. This should get
rid of the many "db_version*" and missing libdb* problems observed with this
port.

Port maintainer (knu at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ruby18-bdb-0.5.9_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/ruby-bdb/Makefile /usr/home/emma/ports/databases/ruby-bdb/Makefile
--- /usr/ports/databases/ruby-bdb/Makefile	Sat Jul  8 19:20:27 2006
+++ /usr/home/emma/ports/databases/ruby-bdb/Makefile	Sat Jul  8 19:32:29 2006
@@ -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}
@@ -25,7 +26,8 @@
 USE_RUBY_RDOC=		yes
 
 CONFIGURE_ARGS=	--with-db-include=${BDB_INCLUDE_DIR} \
-		--with-db-lib=${BDB_LIB_DIR}
+		--with-db-lib=${BDB_LIB_DIR} \
+		--with-db-version=${BDB_LIB_NAME:S/^db//}
 INSTALL_TARGET=	site-install
 
 DOCS=		Changes \
--- ruby18-bdb-0.5.9_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list