From owner-freebsd-ports@FreeBSD.ORG Thu Oct 13 10:51:11 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 E660816A41F for ; Thu, 13 Oct 2005 10:51:11 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 7C28E43D45 for ; Thu, 13 Oct 2005 10:51:09 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 9264 invoked from network); 13 Oct 2005 10:51:07 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 13 Oct 2005 10:51:07 -0000 Received: (qmail 21180 invoked by uid 89); 13 Oct 2005 10:51:07 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by 0 with SMTP; 13 Oct 2005 10:51:07 -0000 Received: from buh.cameradicommercio.ro (localhost [127.0.0.1]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 9B8476182; Thu, 13 Oct 2005 13:51:06 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP; Thu, 13 Oct 2005 13:51:06 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id 29F7B9B; Thu, 13 Oct 2005 13:51:06 +0300 (EEST) Date: Thu, 13 Oct 2005 13:51:05 +0300 From: Ion-Mihai Tetcu To: "Mars G. Miro" Message-ID: <20051013135105.2524e2e0@it.buh.cameradicommercio.ro> In-Reply-To: <28edec3c0510130216i1954a71dyb93900ac50e18a2c@mail.gmail.com> References: <28edec3c0510130216i1954a71dyb93900ac50e18a2c@mail.gmail.com> X-Mailer: Sylpheed-Claws 1.9.15 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AV-Checked: on buh by ClamAV using ClamSMTP Cc: freebsd-ports@freebsd.org Subject: Re: 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 10:51:12 -0000 On Thu, 13 Oct 2005 17:16:37 +0800 "Mars G. Miro" 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"