From owner-freebsd-questions@FreeBSD.ORG Wed May 13 18:27:11 2009 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 263D9106567A for ; Wed, 13 May 2009 18:27:11 +0000 (UTC) (envelope-from DWassman@davismonk.com) Received: from mail3.etgroup.net (mail3.etgroup.net [66.195.99.250]) by mx1.freebsd.org (Postfix) with ESMTP id EF66B8FC45 for ; Wed, 13 May 2009 18:27:10 +0000 (UTC) (envelope-from DWassman@davismonk.com) Received: from etg6.etg.local ([66.195.99.250]) by etg6.etg.local ([66.195.99.250]) with mapi; Wed, 13 May 2009 13:16:50 -0500 From: David Wassman To: "freebsd-questions@freebsd.org" Date: Wed, 13 May 2009 13:16:47 -0500 Thread-Topic: make.conf options based on DESTDIR? Thread-Index: AcnT9vqW3PJwbERJQgyfr3T3zGS9/Q== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: make.conf options based on DESTDIR? 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, 13 May 2009 18:27:11 -0000 I have setup several jails that use a master template similar to the advanc= ed jail configuration in the handbook. Currently, I build the master jail w= ith several build options turned off using a separate make.conf file and se= tting __MAKE_CONF to it. I was wondering if there is a way to set /etc/make.conf up so that if DESTD= IR is set to the master jail location, make would use those options but not= use them during a standard build process with DESTDIR not defined or point= ed somewhere else. I have read through the man pages on make and make.conf, and have tried: .if DESTDIR=3D/usr/Jail/master WITHOUT_ACPI=3DYES WITHOUT_BOOT=3DYES ... .endif But it does not seem to work correctly. Any ideas if this is possible. Woul= d make it easier to rebuild the jail template since I wouldn't need to reme= mber to set __MAKE_CONF. Any help would be appreciated. David Wassman, MCSA MCP Net+ Security+ Senior Network\System Administrator Davis, Monk & Company (800) 344-5034 (352) 372-6300 (352) 375-1583 FAX The information contained in this electronic message is legally privileged = and confidential under applicable law, and is intended only for the use of = the individual or entity named above. If you are not the intended recipient= , you are hereby notified that any dissemination, copying or disclosure of = this communication is strictly prohibited. If you have received this commun= ication in error, please notify Davis, Monk & Company (352) 372-6300 and de= lete this communication immediately without reading it, making any copies o= f it or distributing it. P Please keep this email paperless