From owner-freebsd-ports Mon Feb 14 23:58:51 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by builder.freebsd.org (Postfix) with ESMTP id 177D44230; Mon, 14 Feb 2000 23:58:44 -0800 (PST) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 12Kcsm-0006MV-00; Tue, 15 Feb 2000 09:58:52 +0200 Date: Tue, 15 Feb 2000 09:58:52 +0200 From: Neil Blakey-Milner To: Satoshi - Ports Wraith - Asami Cc: FreeBSD Ports , Richard Wackerbarth Subject: Re: multi-level categories Message-ID: <20000215095852.A23520@mithrandr.moria.org> References: <20000108131719.A22210@futuresouth.com> <20000118172055.D457@argon.blackdawn.com> <20000214115757.B75380@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon 2000-02-14 (18:47), Satoshi - Ports Wraith - Asami wrote: > In the future, we should simply think of a way of distributing one big > patch (sort of what Richard's suggesting).... This seems to be easy enough using Richard's suggestion of 'ar' archives for the patches. Something arb like: @if [ -e ${WRKDIR}/patches.ar ]; then \ mkdir ${WRKDIR}/.patches; \ (cd ${WRKDIR}/.patches && ar x ${MASTERDIR}/patches.ar); \ ${ECHO_MSG} "===> Applying new-style ${OPSYS} patches for ${PKGNAME}" ; \ for i in ${WRKDIR}/.patches/patch-*; do \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying new-style ${OPSYS} patch $$i" ; \ fi; \ ${PATCH} ${PATCH_ARGS} < $$i; \ done; \ fi; This is in the do-patch target, before the old-style patches. This will also make it easier than a large mega-patch, as it applies the patches individually (to take care of O'Brien's concern). The 'ar' archives I generated were plain-text, and we just need some tools to convert from old-style to new-style automatically for the people who work on the ports. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message