Date: Tue, 7 Jun 2005 19:52:45 +0400 (MSD) From: Alexander Novitsky <alecn@server.v42of.icc-vvd.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: knu@FreeBSD.org Subject: ports/82000: [PATCH] sysutils/portupgrade: [SUMMARIZE CHANGES] Message-ID: <200506071552.j57FqjjH030484@server.v42of.icc-vvd.ru> Resent-Message-ID: <200506071600.j57G0Y80018530@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82000 >Category: ports >Synopsis: [PATCH] sysutils/portupgrade: [SUMMARIZE CHANGES] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 07 16:00:34 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alexander Novitsky >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD server.v42of.icc-vvd.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Fri May 13 16:59:19 MSD 2005 >Description: I'm sorry the one I've submitted before didn't work. Please remove PR ports/81996. It's too boring to change this port manually to BDB4 backend each time it changed, and it doesn't work with BDB1 backend on my machine (portsdb -u craches betwean 7000 and 8000 port). So please add this option to choose betwean BDB1 and BDB4 backend by port config, not by manual fixing the port. Port maintainer (knu@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- portupgrade-20041226_5.patch begins here --- Index: Makefile =================================================================== RCS file: /mnt/usr/local/ncvs/ports/sysutils/portupgrade/Makefile,v retrieving revision 1.197 diff -u -r1.197 Makefile --- Makefile 5 Jun 2005 23:49:17 -0000 1.197 +++ Makefile 7 Jun 2005 15:49:47 -0000 @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20041226 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} @@ -26,9 +26,7 @@ MAINTAINER= knu@FreeBSD.org COMMENT= FreeBSD ports/packages administration and management tool suite -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1 -# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb} -# ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb +OPTIONS= BDB4 "BDB4 backend. (BDB1 if off)" on USE_RC_SUBR= yes USE_BZIP2= yes @@ -61,6 +59,12 @@ .include <bsd.port.pre.mk> +.if defined(WITH_BDB4) +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb +.else +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1 +.endif + # pkg_create(1) must support -b. (4.5-RELEASE or later) # XXX: PKG_CMD is not defined yet.. PKG_CREATE_OK!= /usr/sbin/pkg_create 2>&1 | ${GREP} ' -b ' || ${TRUE} --- portupgrade-20041226_5.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?200506071552.j57FqjjH030484>