From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 03:43:35 2011 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 38B2D106566C for ; Fri, 22 Apr 2011 03:43:35 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id B140C8FC08 for ; Fri, 22 Apr 2011 03:43:34 +0000 (UTC) Received: from edtncm04 ([199.185.220.240]) by priv-edtnes29.telusplanet.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20110422031917.ZYGB131.priv-edtnes29.telusplanet.net@edtncm04> for ; Thu, 21 Apr 2011 21:19:17 -0600 Received: from oliver.bc.lan ([50.92.188.219]) by edtncm04 with bizsmtp id aTKH1g00D4kTNxu01TKHXb; Thu, 21 Apr 2011 21:19:17 -0600 X-Telus-Outbound-IP: 50.92.188.219 X-Authority-Analysis: v=1.1 cv=ElJBjKuQT9b1ppeWeQ/6K/jnhC0NHng8VFm/Oxwgxks= c=1 sm=2 a=jVez_htjv6wA:10 a=1n1dVpZoBmAA:10 a=LGgl8L9ij00A:10 a=8nJEP1OIZ-IA:10 a=gHT3qGihys6z4AbW1iEA:9 a=b4UZ1gyw7sld-T3JoL0A:7 a=wPNLvfGTeEIA:10 Received: from [10.111.111.111] (unknown [10.111.111.111]) by oliver.bc.lan (Postfix) with ESMTP id 6528E62B2 for ; Thu, 21 Apr 2011 20:19:35 -0700 (PDT) Message-ID: <4DB0F34B.9030008@telus.net> Date: Thu, 21 Apr 2011 20:17:31 -0700 From: Carl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: building a port with very long list of build options 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: Fri, 22 Apr 2011 03:43:35 -0000 Let's say I want to build a port for which I need to specify a huge number of build options (eg. ghostscript). In my case I am cross-compiling on an amd64 host for what will be a NanoBSD i386 target, but I don't think that's important here. The scenario precludes using the familiar configuration menu. The problem is that the desired list of options far exceeds what would be sane to specify on the 'make' command line. In fact, it apparently even exceeds what typical text editors tolerate when trying to enter the line in a shell script. What is the recommended solution? Given that I do not want to customize the port's Makefile, I was hoping 'make' would support a command line option that would let me simply point to a separate file containing the list of variables to add, one per line. It's not apparent to me that that exists. Carl / K0802647