Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 06:44:59 -0500 (CDT)
From:      Robert Bonomi <>
Subject:   Re: building a port with very long list of build options
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> From  Thu Apr 21 22:45:24 2011
> Date: Thu, 21 Apr 2011 20:17:31 -0700
> From: Carl <>
> To:
> Subject: building a port with very long list of build options
> 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?

One *can* use a script with an 'insanely long' set of options, by the
sinple expedient of using  "\"  to continue the list on the next line.

In fact, when I make a script-file for building something with lots
of options, I usually, fore 'readability'  put each option on a separate 
line.  e.g.:

    ./Configure \
     --option_001 \
     --option_002 \
     --option_003 \
     --option_003 \
     --option_203 \

making _sure_ there is a blank line after the last option specification.

Want to link to this message? Use this URL: <>