From owner-freebsd-questions@freebsd.org Sun Dec 10 13:34:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07333E8CC9D; Sun, 10 Dec 2017 13:34:23 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:a:dead:bad:faff]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C876771603; Sun, 10 Dec 2017 13:34:22 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id vBADYLIM079285; Sun, 10 Dec 2017 13:34:21 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id vBADYLgI079284; Sun, 10 Dec 2017 13:34:21 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201712101334.vBADYLgI079284@donotpassgo.dyslexicfish.net> Date: Sun, 10 Dec 2017 13:34:21 +0000 Organization: Dyslexic Fish To: gurenchan@gmail.com, freebsd-questions@freebsd.org, freebsd-current@freebsd.org Subject: Re: Makefile show all flags References: In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Sun, 10 Dec 2017 13:34:22 +0000 (GMT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2017 13:34:23 -0000 blubee blubeeme wrote: > When porting software FreeBSD has a lot of internal makefiles that gets > pulled in that setup the build environment: /usr/ports/Mk/* > > Is there a way to print out the env during the make process so that I can > see what knobs, switches and flags were set before the build is run? Is this any use? make -dA .... It's pretty verbose. I'd suggest running it through "script" or redirecting stderr to a file! cheers, jamie