Date: Thu, 13 Oct 2005 13:51:05 +0300 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: "Mars G. Miro" <marsgmiro@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: patching a build dependency Message-ID: <20051013135105.2524e2e0@it.buh.cameradicommercio.ro> In-Reply-To: <28edec3c0510130216i1954a71dyb93900ac50e18a2c@mail.gmail.com> References: <28edec3c0510130216i1954a71dyb93900ac50e18a2c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Oct 2005 17:16:37 +0800 "Mars G. Miro" <marsgmiro@gmail.com> wrote: > Hi porters! > > I'm working on a port that has another port as its build dependency. > Let's say this is port X and the dependency is port Z. When I'm > building port X, I need to patch something in port Z, however I don't > need to patch port Z if i'm only building port Z. Is this at all > possible to set this in port X's Makefile? or should I do this in port > Z, then perhaps define a variable somewhere to patch it if i'm > building port X? You could do it both ways (with some work) but the second one is the right one IMO; if the patch changes something significant you should probably do a slave port for the X(Z) case and change the PKGNAMESUFFIX -- IOnut Unregistered ;) FreeBSD "user"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051013135105.2524e2e0>