Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2014 14:27:05 +0200 (CEST)
From:      Melvyn Sopacua <melvyn@magemana.nl>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@FreeBSD.org, Melvyn Sopacua <melvyn@magemana.nl>
Subject:   Re: How to tell pkg it's OK to overwrite files by another port
Message-ID:  <alpine.BSF.2.00.1408091414230.27232@fire.magemana.nl>
In-Reply-To: <20140806210759.GQ17537@ivaldir.etoilebsd.net>
References:  <alpine.BSF.2.00.1408050528170.52235@fire.magemana.nl> <20140805143415.GD17537@ivaldir.etoilebsd.net> <alpine.BSF.2.00.1408062112220.72407@fire.magemana.nl> <20140806210759.GQ17537@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Baptiste,

On Wed, 6 Aug 2014, Baptiste Daroussin wrote:

> On Wed, Aug 06, 2014 at 09:19:48PM +0200, Melvyn Sopacua wrote:
>> Both are candidates for myconfig.conf, where optimized should win and
>> otherwise default, but they come from two different ports. This may
>> actually be the way to handle it, if @sample didn't assume the same
>> basename.

> There is the @sample keyword for that ;)

I don't think there is.
@sample foo.sample sets target_file to foo. There's no way to specify
that target_file should be bar.
If two ports have the same .sample file, there is still a conflict. So
in my case, I need two different .sample files installing to a shared
target_file.

I think this is a corner case, so I'll stick it in a custom pkg-install.

--
Melvyn



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