From owner-freebsd-ports@FreeBSD.ORG Thu Oct 13 09:16:38 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86B0316A41F for ; Thu, 13 Oct 2005 09:16:38 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E27843D48 for ; Thu, 13 Oct 2005 09:16:38 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so291308nzd for ; Thu, 13 Oct 2005 02:16:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Uo2avgjtEgmqoSmgUy74OF1CyIpdvlSsW7dWVXAHDoQZVaePMfoQUFQBwZoShXVn7CaiOlg6AFASzFq2IMDJoR83ueSmpeGS6F4htilI28Gcj+j2FoDKNEFKkMWK9IsuHyquFYktR11nFyliwgEcaSPTsTCT6F4FUBkDLlwkFBo= Received: by 10.36.80.10 with SMTP id d10mr2133944nzb; Thu, 13 Oct 2005 02:16:37 -0700 (PDT) Received: by 10.36.72.10 with HTTP; Thu, 13 Oct 2005 02:16:37 -0700 (PDT) Message-ID: <28edec3c0510130216i1954a71dyb93900ac50e18a2c@mail.gmail.com> Date: Thu, 13 Oct 2005 17:16:37 +0800 From: "Mars G. Miro" To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: patching a build dependency X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 09:16:38 -0000 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? Thanks much. cheers mars