From owner-freebsd-ports Fri Nov 8 16: 1: 4 2002 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 3523637B401 for ; Fri, 8 Nov 2002 16:01:03 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5F1743E3B for ; Fri, 8 Nov 2002 16:01:02 -0800 (PST) (envelope-from timothy@voidnet.com) Received: from repose ([12.210.146.224]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021109000101.KXYN20487.sccrmhc02.attbi.com@repose> for ; Sat, 9 Nov 2002 00:01:01 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Eric Timme (by way of Eric Timme ) Subject: general questions about patches ports [nethack] Date: Fri, 8 Nov 2002 18:00:59 -0600 User-Agent: KMail/1.4.3 To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211081800.59596.timothy@voidnet.com> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In an effort to get some experience with ports I've been working in my sp= are time on making a local entry in the tree that lets you apply a variety of nethack enhancing, generally accepted patches (namely the hell patch, dum= p patch, new toys, and toughvlad patches) using -D appendations to the init= ial make command. It builds fine with various patches enabled; however, I ha= d to modify the original diffs to get everything to apply it an order independ= ent fashion. Part of this was necessary because I was specifying the files t= o use via PATCHFILES and some .if defined() ... .endif branches in the Makefile, and their application order did matter. Anyhow, I got that sorted out, and have been storing my patchfiles on a remote server and fetching using a PATCH_SITES define, which fetches and applies seamlessly. That brings me to my questions.. First, for future reference, is there a way, besides naming patchfiles aa= ab ac etc, to get PATCHFILES, or any similar defines, to apply patches in a = user specifid particular order? Second, is there a way to store/bundle optional patches with a port and b= e able to include them in the build or not, at your discretion, so that you don't have to fetch them from third party sites? Third, is there even any interest in something like this, or does conservative BSD philosophy frown on game patches such as these being included in the ports tree, leaving it to the end user to compile from scratch and apply patches by hand if they wish enhancement? --Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message