From owner-freebsd-questions@FreeBSD.ORG Tue Jul 18 21:31:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C5CC16A4DD for ; Tue, 18 Jul 2006 21:31:21 +0000 (UTC) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (mic92-1-87-90-12-116.dsl.club-internet.fr [87.90.12.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D16443D4C for ; Tue, 18 Jul 2006 21:31:20 +0000 (GMT) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (localhost [127.0.0.1]) by scienceclue.ath.cx (8.13.6/8.13.6) with ESMTP id k6ILXIjH040566 for ; Tue, 18 Jul 2006 23:33:18 +0200 (CEST) (envelope-from root@scienceclue.ath.cx) Received: (from root@localhost) by scienceclue.ath.cx (8.13.6/8.13.6/Submit) id k6ILXCrP040565 for freebsd-questions@freebsd.org; Tue, 18 Jul 2006 23:33:12 +0200 (CEST) (envelope-from root) Date: Tue, 18 Jul 2006 23:33:12 +0200 From: Mathieu Prevot To: freebsd-questions@freebsd.org Message-ID: <20060718213312.GA40535@scienceclue.ath.cx> References: <20060718154223.GA76061@scienceclue.ath.cx> <20060718190200.29ef8d0f@apircalabu.dsd.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20060718190200.29ef8d0f@apircalabu.dsd.ro> User-Agent: Mutt/1.4.2.1i Subject: Re: make.conf doesn't work as expected (MAKEFLAGS and .MAKEFLAGS) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mathieu Prevot List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 21:31:21 -0000 On Tue, Jul 18, 2006 at 07:02:00PM +0300, Adi Pircalabu wrote: > On Tue, 18 Jul 2006 17:42:23 +0200 Mathieu Prevot wrote: > > > .if ${.CURDIR:N/usr/ports/*} > > Hi, > do you mean: > .if ${.CURDIR:M*/usr/ports/*} > > > MAKEFLAGS+= -j 9 > > ..endif > > > > but the compilation doesn't occur as if I do `make -j9` > > I'd ask you what are you trying to accomplish with this value, but > that's another story :) My whish is to have `make -j9` outside /usr/ports without having to type 'make -j9'. It was the right argument '.if ${.CURDIR:N/usr/ports/*}'. What can I do if it's not the right way ? Mathieu