From owner-freebsd-questions@FreeBSD.ORG Sun Nov 11 18:23:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE92516A469 for ; Sun, 11 Nov 2007 18:23:48 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 90CFA13C4A5 for ; Sun, 11 Nov 2007 18:23:48 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 25653 invoked from network); 11 Nov 2007 18:23:35 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Nov 2007 18:23:35 -0000 Message-ID: <47374874.7030006@chuckr.org> Date: Sun, 11 Nov 2007 13:22:44 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: "[LoN]Kamikaze" References: <4736E080.6060401@lipn.univ-paris13.fr> <4736E758.3060402@infracaninophile.co.uk> <4736E8B7.400@lipn.univ-paris13.fr> <4736E9F8.7090107@gmx.de> In-Reply-To: <4736E9F8.7090107@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Le Cocq Michel , freebsd-questions@freebsd.org Subject: Re: make configure vs first make X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 18:23:48 -0000 [LoN]Kamikaze wrote: > Le Cocq Michel wrote: >> Matthew Seaman a écrit : >>> That's because you need to do: >>> >>> make config >>> >>> which has a very different effect to 'make configure.' >>> >>> Matthew >>> >> can you explain the != ? >> >> thanks >> >> Michel > > make configure > runs the configure build stage if the port has one. > > make config > calls the config dialogue Use 'make rmconfig' it wipes out the stored options. Look into the Makefile for lines specifying options "OPTIONS=" Oh, yeah, the != (which is documented in the make(7) man page, which is a very good document) means, send the text in that defition to the shell, and set the variable to whatever the shell returns, like MYNAME != echo $$USER (you need the two dollar signs, because you want the dollar sign to get to the shell, but Make itself will eat the first one, so send two of them to get one out to the shell.) You know one great way to learn make? in ports, directory Mk, is a bunch of make template files, and the one named bsd.port.mk is a fantastic doument that clearly illustrates just about every good method that's available in BSD's make. BSD's make is a very, very good one, too. Greatly different than the GNU make. _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"