Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 04:47:35 -0600
From:      Jeremy Norris <ishmael27@home.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: XFree86-4 Port
Message-ID:  <20001219044735.D7935@babylon.merseine.nu>
In-Reply-To: <xzp4s00zofy.fsf@flood.ping.uio.no>; from des@ofug.org on Tue, Dec 19, 2000 at 11:37:53AM %2B0100
References:  <20001217004251.A47353@external.org> <xzppuiqyoib.fsf@flood.ping.uio.no> <20001218134601.A5634@FreeBSD.org> <xzp8zpczrs5.fsf@flood.ping.uio.no> <20001219040318.B7935@babylon.merseine.nu> <xzp4s00zofy.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
What about a post-install target that removes the metadata from WRKDIR?
This way each port along the chain is fooled. Then the only problem is the
extract/patch targets. (If you hardcode WRKSRC, you don't let people set the
working dir outside of the ports hierarchy).
I'm fiddling around with this idea right now, although it may prove in the end
unfeasible. I'll post patches if I think I get something workable together.

Jeremy

On Tue, Dec 19, 2000 at 11:37:53AM +0100, Dag-Erling Smorgrav wrote:
> Jeremy Norris <ishmael27@home.com> writes:
> > What about doing the following in each of the XFree86-4-subports:
> > MASTERDIR=${PORTSDIR}/x11/XFree86-4
> > WRKDIR=${MASTERDIR}/work
> > Then make XFree86-4 like other meta-ports, except have it fetch the
> > distfiles.
> > 
> > Thus all the XFree86-4-subports could share the same working directory, no?
> 
> No, because the ports system keeps metadata in WRKDIR. You might be
> able to get away with WRKSRC=${MASTERDIR}/work/xc though. But it'd be
> very tricky to get all the targets (especially the fetch, extract and
> patch targets) for each port right.
> 
> DES
> -- 
> Dag-Erling Smorgrav - des@ofug.org


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?20001219044735.D7935>