Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 09:58:52 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.org>
Cc:        FreeBSD Ports <ports@FreeBSD.org>, Richard Wackerbarth <rkw@dataplex.net>
Subject:   Re: multi-level categories
Message-ID:  <20000215095852.A23520@mithrandr.moria.org>
In-Reply-To: <vqc900nmbbt.fsf@silvia.hip.berkeley.edu>
References:  <vqc4scoddtw.fsf@silvia.hip.berkeley.edu> <XFMail.000108122747.andrews@TECHNOLOGIST.COM> <20000108131719.A22210@futuresouth.com> <vqc66wrnxqb.fsf@silvia.hip.berkeley.edu> <20000118172055.D457@argon.blackdawn.com> <vqcitzshzr9.fsf@silvia.hip.berkeley.edu> <20000214115757.B75380@dragon.nuxi.com> <vqc900nmbbt.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000215095852.A23520>