From owner-freebsd-ports@FreeBSD.ORG Sat Jul 8 17:44:40 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73FB216A4DF for ; Sat, 8 Jul 2006 17:44:40 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 0EAE343D49 for ; Sat, 8 Jul 2006 17:44:38 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: (qmail invoked by alias); 08 Jul 2006 17:44:37 -0000 Received: from p5091010D.dip0.t-ipconnect.de (EHLO m2a2.dyndns.org) [80.145.1.13] by mail.gmx.net (mp012) with SMTP; 08 Jul 2006 19:44:37 +0200 X-Authenticated: #428038 Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id ADEEC200B17; Sat, 8 Jul 2006 19:44:36 +0200 (CEST) Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24755-17; Sat, 8 Jul 2006 19:44:35 +0200 (CEST) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.1.2]) by merlin.emma.line.org (Postfix) with ESMTP id 1DDC4200A9C; Sat, 8 Jul 2006 19:44:35 +0200 (CEST) Received: by libertas.emma.line.org (Postfix, from userid 1001) id 979BA51; Sat, 8 Jul 2006 19:44:34 +0200 (CEST) To: FreeBSD-gnats-submit@freebsd.org From: Matthias Andree X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20060708174434.979BA51@libertas.emma.line.org> Date: Sat, 8 Jul 2006 19:44:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at emma.line.org X-Y-GMX-Trusted: 0 Cc: ports@freebsd.org, knu@FreeBSD.org Subject: [PATCH][IMPORTANT] databases/ruby-bdb: fix compilation with multiple db4* installed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 17:44:40 -0000 >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@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 ---