From owner-freebsd-questions@FreeBSD.ORG Wed Aug 16 05:06:45 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 A689B16A4DF for ; Wed, 16 Aug 2006 05:06:45 +0000 (UTC) (envelope-from parv@pair.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0EA43D4C for ; Wed, 16 Aug 2006 05:06:45 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([69.160.66.115]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060816050644.BQKO28299.mta11.adelphia.net@default.chvlva.adelphia.net>; Wed, 16 Aug 2006 01:06:44 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 2A93AB619; Wed, 16 Aug 2006 01:06:49 -0400 (EDT) Date: Wed, 16 Aug 2006 01:06:49 -0400 From: Parv To: Chris Message-ID: <20060816050649.GD8555@holestein.holy.cow> Mail-Followup-To: Chris , freebsd-questions@freebsd.org References: <44E21660.5040100@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44E21660.5040100@comcast.net> Cc: freebsd-questions@freebsd.org Subject: Re: Finding out which options you used when compiling a package? 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: Wed, 16 Aug 2006 05:06:45 -0000 in message <44E21660.5040100@comcast.net>, wrote Chris thusly... > > Is there anyway to find out which defines you decleared on the > make line you used to compile a port Create a wrapper around make which records the command and/or options before actually calling make. Add a few things like logging the make output, showing last few lines of the log on a failure, seeing the last used options|commands, etc. to have something like this, mostly uncommented, script ... http://www103.pair.com/parv/comp/src/sh/port-make - Parv --