From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 10:14:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460881065774 for ; Tue, 24 Jul 2012 10:14:50 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 017308FC12 for ; Tue, 24 Jul 2012 10:14:50 +0000 (UTC) Received: from [78.35.157.173] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Stc7w-0003b8-CO; Tue, 24 Jul 2012 12:14:04 +0200 Date: Tue, 24 Jul 2012 12:14:00 +0200 From: Fabian Keil To: Chris Ross Message-ID: <20120724121400.55b96aee@fabiankeil.de> In-Reply-To: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> References: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/6WiUa+sOXwf5I/vg0Zquc6q"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-questions@freebsd.org Subject: Re: Locally modifying ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 10:14:50 -0000 --Sig_/6WiUa+sOXwf5I/vg0Zquc6q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > 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? I'm not aware of something similar to pkgsrc's $LOCALPATCHES, but you can still drop local patches in the "files" directory of the port: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patc= h.html Fabian --Sig_/6WiUa+sOXwf5I/vg0Zquc6q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAOdWwACgkQBYqIVf93VJ0xkACfUnN4bEgviioIqJd+e9nJNBS+ cc4An3rK96JKjar6d/B8Tl9tPQ10er8W =9uEr -----END PGP SIGNATURE----- --Sig_/6WiUa+sOXwf5I/vg0Zquc6q--