From owner-freebsd-ports@FreeBSD.ORG Sat Jul 1 16:48:47 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 3E73016A47E; Sat, 1 Jul 2006 16:48:47 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 420B643F58; Sat, 1 Jul 2006 16:46:15 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [87.240.16.199] (helo=[192.168.0.3]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1FwibU-000MrL-8a; Sat, 01 Jul 2006 20:45:56 +0400 Message-ID: <44A6A6D3.9070201@FreeBSD.org> Date: Sat, 01 Jul 2006 20:46:11 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.4 (X11/20060701) MIME-Version: 1.0 To: David J Brooks References: <200606301851.39983.daeg@houston.rr.com> <44A675F7.7020204@FreeBSD.org> <44A67F4D.5060809@FreeBSD.org> <200607010945.34281.daeg@houston.rr.com> <44A68B2A.8020903@FreeBSD.org> In-Reply-To: <44A68B2A.8020903@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , FreeBSD Ports , knu@FreeBSD.org Subject: patch for ruby-bdb (Was: portupgrade portupgrade leaves an error....) 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, 01 Jul 2006 16:48:47 -0000 Well, I did send-pr a couple hours ago but it's still not in GNATS. I'm afraid I can forget to track. So here is a patch. IIRC attachment will cut in main list, so here is cut&paste. The patch is two-lined, so you can apply the changes by hands. -- Dixi. Sem. 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