Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 14:38:27 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd ports <freebsd-ports@freebsd.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: How to get optional distfiles mirrored?
Message-ID:  <44208063.1020604@FreeBSD.org>
In-Reply-To: <20060318222226.4616e29a@Magellan.Leidinger.net>
References:  <441C4EF7.8030502@FreeBSD.org>	<20060318192358.GA59005@xor.obsecurity.org> <20060318222226.4616e29a@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Am Sat, 18 Mar 2006 14:23:58 -0500
> schrieb Kris Kennaway <kris@obsecurity.org>:
> 
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44208063.1020604>