From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 04:52:57 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 B757C106564A for ; Tue, 24 Jul 2012 04:52:57 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200::ae25]) by mx1.freebsd.org (Postfix) with ESMTP id 8977E8FC08 for ; Tue, 24 Jul 2012 04:52:57 +0000 (UTC) Received: from magrathea.distal.com (magrathea.distal.com [206.138.151.12]) (authenticated bits=0) by mail.distal.com (8.14.3/8.14.3) with ESMTP id q6O4qt3E021370 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 24 Jul 2012 00:52:56 -0400 (EDT) From: Chris Ross Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 00:52:55 -0400 Message-Id: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: 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 04:52:57 -0000 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? Thanks.... - Chris