[PATCH][IMPORTANT] databases/ruby-bdb: fix compilation with
multiple db4* installed
Matthias Andree
matthias.andree at gmx.de
Sat Jul 8 17:44:40 UTC 2006
>Submitter-Id: current-users
>Originator: Matthias Andree
>Organization:
>Confidential: no
>Synopsis: [PATCH][IMPORTANT] databases/ruby-bdb: fix compilation with multiple db4* installed
>Severity: critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 6.1-RELEASE-p2 i386
>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 ---
More information about the freebsd-ports
mailing list