Date: Sat, 8 Jul 2006 19:44:34 +0200 (CEST) From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ports@FreeBSD.org, knu@FreeBSD.org Subject: ports/99919: [PATCH][IMPORTANT] databases/ruby-bdb: fix compilation with multiple db4* installed Message-ID: <20060708174434.979BA51@libertas.emma.line.org> Resent-Message-ID: <200607081750.k68HoFhb094127@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060708174434.979BA51>