Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 20:58:55 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Way to make settings in /etc/make.conf effective only for ports
Message-ID:  <20140623.205855.59802927.yasu@utahime.org>
In-Reply-To: <53A69EE8.5090608@freebsd.org> <alpine.BSF.2.00.1406221114310.22555@fire.magemana.nl> <53A6D3DA.1080705@heuristicsystems.com.au>
References:  <20140622.164916.109390522.yasu@utahime.org> <53A69EE8.5090608@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: Way to make settings in /etc/make.conf effective only for ports
Date: Sun, 22 Jun 2014 02:16:24 -0700

> I think you can use /usr/local/etc/ports.conf
> 
> I got that information from:
> 
> http://lists.freebsd.org/pipermail/freebsd-ports/2007-April/040338.html

From: Melvyn Sopacua <melvyn@magemana.nl>
Subject: Re: Way to make settings in /etc/make.conf effective only for ports
Date: Sun, 22 Jun 2014 11:20:10 +0200 (CEST)

> You can wrap those settings in .CURDIR check:
> .if !empty(.CURDIR:M/usr/ports/*)
> # port settings here
> .endif

From: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
Subject: Re: Way to make settings in /etc/make.conf effective only for ports
Date: Sun, 22 Jun 2014 23:02:18 +1000

> Simplest way would be to install ports-mgmt/portconf. The installation
> appends what's needed to /etc/make.conf
> Then you need to add to /usr/local/etc/ports.conf to enable what you
> require the port to do.  Something like:

At first step I adopt Melvyn's way because it is so easy to add only 2
lines in /etc/make.conf. But portconf is interesting so I will try it.

Thank you for reply.

Best Regards.

---
Yasuhiro KIMURA



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