From owner-freebsd-questions Sun Nov 10 13:50:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33A4037B401 for ; Sun, 10 Nov 2002 13:50:41 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6178D43E3B for ; Sun, 10 Nov 2002 13:50:40 -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 <20021110215039.VHOX20487.sccrmhc02.attbi.com@repose> for ; Sun, 10 Nov 2002 21:50:39 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Eric Timme (by way of Eric Timme ) (by way of Eric Timme ) Subject: general questions about patches ports [nethack] Date: Sun, 10 Nov 2002 15:50:36 -0600 User-Agent: KMail/1.4.3 To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211101550.36426.timothy@voidnet.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (no answers off ports, so thought I'd give it a try on questions) 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message