From owner-freebsd-ports@FreeBSD.ORG Tue Mar 21 22:38:19 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 51FA116A400 for ; Tue, 21 Mar 2006 22:38:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id B998A43D45 for ; Tue, 21 Mar 2006 22:38:18 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 84792 invoked by uid 399); 21 Mar 2006 22:38:18 -0000 Received: from localhost (HELO ?192.168.0.6?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 21 Mar 2006 22:38:18 -0000 Message-ID: <44208063.1020604@FreeBSD.org> Date: Tue, 21 Mar 2006 14:38:27 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Alexander Leidinger References: <441C4EF7.8030502@FreeBSD.org> <20060318192358.GA59005@xor.obsecurity.org> <20060318222226.4616e29a@Magellan.Leidinger.net> In-Reply-To: <20060318222226.4616e29a@Magellan.Leidinger.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd ports , Kris Kennaway Subject: Re: How to get optional distfiles mirrored? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 22:38:19 -0000 Alexander Leidinger wrote: > Am Sat, 18 Mar 2006 14:23:58 -0500 > schrieb Kris Kennaway : > >> On Sat, Mar 18, 2006 at 10:18:31AM -0800, Doug Barton wrote: >>> Howdy, >>> >>> The ftp site does not have a mirror of an optional patch for Pine, I imagine >>> because it requires WITH_MAILDIR to fetch. Is there a way (other than >>> altering the port's defaults) to have this happen automatically? >> Put it in your ~/public_distfiles and add MASTER_SITE_LOCAL to the >> mirror list. > > What about: > ---snip--- > .if defined(PACKAGE_BUILDING) > DISTFILES+=... > ALWAYS_KEEP_DISTFILES= yes > .endif > ---snip--- Thanks for this suggestion. Although I went another way in the end, I thought it was worth pointing out that DISTFILES+= did not work as I expected it would. Instead of adding the file to the list, it replaced the value of DISTFILES. The workaround would have been to do: .if defined(PACKAGE_BUILDING) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} maildir.patch.gz ... (along with some master site grouping gymnastics, etc). hth, Doug -- This .signature sanitized for your protection