From owner-freebsd-ports Tue Aug 7 3: 5:25 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 3845137B405; Tue, 7 Aug 2001 03:05:08 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (dialup10-34.iptelecom.net.ua [212.9.228.98]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id NAA43940; Tue, 7 Aug 2001 13:04:21 +0300 (EEST) (envelope-from max@vega.com) Received: (from max@localhost) by vega.vega.com (8.11.4/8.11.3) id f77A3nF64150; Tue, 7 Aug 2001 13:03:49 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200108071003.f77A3nF64150@vega.vega.com> Subject: Re: Introducing USE_BZIP2{CMD,LIB,RUN} and BZIP2BASE To: knu@iDaemons.org (Akinori MUSHA) Date: Tue, 7 Aug 2001 13:03:09 +0300 (EEST) Cc: sobomax@FreeBSD.ORG (Maxim Sobolev), portmgr@FreeBSD.ORG, ports@FreeBSD.ORG, nakai@FreeBSD.ORG, dr@domix.de, demon@FreeBSD.ORG, gnome@FreeBSD.ORG, mi@aldan.algebra.com, ijliao@FreeBSD.ORG, andreas@FreeBSD.ORG, roman@xpert.com, greg@hewgill.com, jedgar@FreeBSD.ORG, jmz@FreeBSD.ORG, samy@goldmoon.org, dirk@FreeBSD.ORG, kanou@mil.allnet.ne.jp In-Reply-To: from "Akinori MUSHA" at Aug 07, 2001 06:42:32 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > At Tue, 07 Aug 2001 12:13:20 +0300, > sobomax wrote: > > It can be done simpler than that. Just turn archivers/bzip2 into a > > stub port if the system already has shared library and executable > > installed in the /usr/bin /usr/lib, i.e. teach it to not build > > anything in this case, but just install appropriate symlinks. We > > have already too many OSVERSION dependend hacks in bsd.port.mk, so > > it would be nice to avoid another one. > > It might be simpler, but it's uglier because it's not the right step > to the eventual removal of the archivers/bzip2 port. > > Once we replace the bzip2 dendencies with the new variables, we can > retire the bzip2 port at any time by just modifying bsd.port.mk a bit. I do not see any problems with retiring bzip2 port in my variant - when the time has came just remove archivers/bzip2 and its traces in RUN/LIB/BUILD_DEPENDS of various ports. The former is common for both scenarios, while you have to do the latter at the beginning of your scenario anyway (i.e. convert RUN/LIB/BUILD_DEPENDS into various USE_*). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message