From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 08:28:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77DA5106566C for ; Tue, 24 Jul 2012 08:28:15 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF4BE8FC0A for ; Tue, 24 Jul 2012 08:28:14 +0000 (UTC) Received: by laai10 with SMTP id i10so798785laa.13 for ; Tue, 24 Jul 2012 01:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vQLA8X0xFMUGrdMVcIqCRo7HgVR0wLRqfYhebctYWq0=; b=tz6oj81I7xCwP1cCnz6W3soVXKqjWy3x4sR3hXy7VHqSeir9rfWm+eoF3BE8uRZHox DyY+lZy5Myu9PhZKe36NenjroOcKP+73MLYb7X/xGeb6rua90njkckuLsa236QVsJxov uJ4PPtn8B7sRSdNTdUDEqcCLzR5JzIbzBvx8ca/Lq9tkSdFfAI7s0m7e/Vk/YAR6hbQS 57um8dvE2ZTHhWz5Yb8jzZZTE8csWktUTDh1waA24StvJztz1XJiM/8IbhXk0kTD283c bXgjHKuO3Z0+iqkzD6ksEl8UZypQPl0ZmCd9UQ3Vh0lMqlxl1RXyLzhcu6gDbkIuQBXP PuNA== Received: by 10.152.104.171 with SMTP id gf11mr20636117lab.5.1343118493465; Tue, 24 Jul 2012 01:28:13 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id n7sm3597194lbk.10.2012.07.24.01.28.10 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 01:28:12 -0700 (PDT) Message-ID: <500E5C98.1000406@gmail.com> Date: Tue, 24 Jul 2012 11:28:08 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Chris Ross References: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> In-Reply-To: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Locally modifying ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 08:28:15 -0000 Chris Ross wrote: > So, I've been a NetBSD user for many years, and am looking more > at FreeBSD now. Trying to build myself a system, I find that I have a > long-held delta to a package on my NetBSD system, and I keep it > in a patch-local-* file in NetBSD pkgsrc. > > I can't figure out if FreeBSD ports has a way to keep and automatically > apply "local" patches to ports. I want to modify the way the internals of > a package/port operate, and not in a way that makes sense to move up- > stream. It's just my preference. > > Is there a way in FreeBSD ports to keep a "make this change to the > source code after extracting and before compiling" type of thing in the > tree? Ports just has been transferred to subversion. With subversion you can apply your patches to the tree and subversion will maintain them notifying you on possible conflicts. I'm already using this one for the patches to Mk that hasn't been committed for a long time. -- Sphinx of black quartz judge my vow.