From owner-freebsd-ports Mon Aug 2 20: 4:17 1999 Delivered-To: freebsd-ports@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id A73FB14F5B for ; Mon, 2 Aug 1999 20:04:14 -0700 (PDT) (envelope-from vanderh@ecf.toronto.edu) Received: from localhost.nowhere (ppp18363.on.bellglobal.com [206.172.130.43]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id XAA18851; Mon, 2 Aug 1999 23:07:18 -0400 (EDT) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id XAA19751; Mon, 2 Aug 1999 23:04:34 -0400 (EDT) (envelope-from tim) Date: Mon, 2 Aug 1999 23:04:34 -0400 From: Tim Vanderhoek To: Marc van Woerkom Cc: freebsd-ports@freebsd.org Subject: Re: 2nd level patching Message-ID: <19990802230433.B19050@mad> References: <199908021053.DAA25890@freeamp.org> <19990802114353.D14922@mad> <199908030145.DAA00881@oranje.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199908030145.DAA00881@oranje.my.domain>; from Marc van Woerkom on Tue, Aug 03, 1999 at 03:45:28AM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Aug 03, 1999 at 03:45:28AM +0200, Marc van Woerkom wrote: > > No my problem is how to create variations of larger ports that > should go into the official ports tree. The only way I see of doing it is with a post-patch: or a pre-patch: target. You could probably cheat and use something like post-patch: PATCHDIR=${.CURDIR}/patches ${MAKE} do-patch I don't think a ``cd ${.CURDIR}'' is needed, but I could be wrong. Alternativly, pre-patch: and PATCHDIR=${xxx}/patches if you don't set MASTERDIR in the port. There may be precedent for a better way. Check a couple large skeleton ports quickly or see if someone responds to this message (or your original). -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message