From owner-freebsd-ports@FreeBSD.ORG Mon Jun 23 11:59:32 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C058D80 for ; Mon, 23 Jun 2014 11:59:32 +0000 (UTC) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 16AEF2ED2 for ; Mon, 23 Jun 2014 11:59:31 +0000 (UTC) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id E37C04E629; Mon, 23 Jun 2014 20:59:23 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id B5B027591F; Mon, 23 Jun 2014 20:59:23 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPA id 7AAE67591C; Mon, 23 Jun 2014 20:59:23 +0900 (JST) Date: Mon, 23 Jun 2014 20:58:55 +0900 (JST) Message-Id: <20140623.205855.59802927.yasu@utahime.org> To: freebsd-ports@freebsd.org Subject: Re: Way to make settings in /etc/make.conf effective only for ports From: Yasuhiro KIMURA In-Reply-To: <53A69EE8.5090608@freebsd.org> <53A6D3DA.1080705@heuristicsystems.com.au> References: <20140622.164916.109390522.yasu@utahime.org> <53A69EE8.5090608@freebsd.org> X-Mailer: Mew version 6.6 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 11:59:32 -0000 From: Alfred Perlstein 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 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 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